Albert Barnes' Notes on the Whole Bible - Psalms 22
I. “The author of the psalm.” This psalm is said to have been composed by David: “A Psalm of David;” compare the notes at the title of Psalms 3:1-8. It cannot be absolutely demonstrated that these titles to the psalms are all of them correct, as it cannot be supposed that they were affixed to them by the authors of the psalms themselves; and it is not absolutely known by whom they were prefixed. Of course there is no certain evidence that they were attached to the psalms by an inspired writer.... read more
The Pulpit Commentary - Psalms 22:31
They shall come, and shall declare his righteousness unto a people that shall be born, that he hath done this . One generation after another shall come, and shall report God's righteousness, as shown forth in Christ, each to its successor—a people yet to be born—telling them that God "has done this;" i.e. effected all that is here sketched out, and so accomplished the work of redemption. read more