he is speaking of how even though he is a great man of God, he sins too, and he feels alone sometimes to. just as everyone does, he felt that God had abandoned him in his times of trouble. then in the second half he cries out to the lord to save him. in verse 24 he says "for he has not dispised or disdained the suffering of the afflicted one; he has not hidden his face from him but has listened to his cry for help." so hes saying God hasnt left me at all.
David is seeing a vision of the sufferings of the Messiah and writes up the sufferings and the glory that followed. He was singing Hebrew poetry as all of the Book of Psalms is. He does not describe anything that David himself suffered, but he is describing the sufferings of the Messiah based upon a vision he saw
4 months ago
Last edited at 6:08PM on 2/17/2013
Psalm 22 has been understood as one of the following possibilities: 1) It is about the suffering of the Nation of Israel in exile, talking about Israel as a collective, hence in the singular. 2) It is a psalm written for any individual in distress to say expressing their confidence in God, at the time of their greatest need for God's help. I wouldn't be saying what follows, except that I anticipate other answers to incorrectly say that Psalm 22 is a prophecy about Jesus. There is NOTHING in Psalm 22 about Jesus nor is it a prophecy, in particular not about Jesus. The only relation of Psalm 22 to Jesus is that he quoted from it (in Aramaic translation, not the Hebrew original!), when he was in distress and felt forsaken by God, supporting that the second interpretation above was acceptable also in antiquity.