Psalm 22
Jesus famously quoted from Psalm 22 when He was on the cross (Matt 27:46). The beginning of the psalm is rather desolate, but the tone changes by the end. At the start the psalmist is in anguish. Jesus’ death and suffering were very real, and He was fully human, so He felt everything.
Despite his state of anguish he still knew that God was the Holy One of Israel. He still believed that calling on God was the way of salvation. There can be times when we experience deep anguish, and all seems lost, yet there is still something within us that trusts in the Lord.
In those times we do not feel great, and we may be scorned by all, and our faith may be mocked.
The psalmist then reminds himself of some basic truths. It was God who formed him in the womb, and taught him to trust in the Lord. He calls upon God to help him quickly.
David was surrounded by many foes. David really felt the suffering. We can sometimes feel guilty about the fact that we are struggling, but we should not do so. David felt the suffering, Jesus felt the suffering, so we should not expect to be any different.
In v19 David again cries out for deliverance, and in v22 his attitude begins to change. He will declare the name of the Lord to the people, and calls on those who fear the Lord to praise Him. And he declares that God has not abandoned him.
So Davoid has moved from a place of utter despair to one of declaring the faithfulness of God, and His salvation.