The psalm begins with a loud voice: with my voice I cry out to the Lord, with my voice I plead for mercy to the Lord. I pour out my complaint before him, I tell my trouble before him. David's prayer is not a formula; it is a sincere outpouring of the heart before God.
Verses 3 and 4 describe his situation. When his spirit faints within him, the Lord knows his way. In the path where he walked, they have hidden a trap for him. He looks to his right and sees that there is no one who takes notice of him; no refuge remains for him and no one cares for his soul. It is the extreme loneliness of one who has no one.
Verses 5 and 6 are the center: I cry to you, O Lord; I say, you are my refuge, my portion in the land of the living. He asks that the Lord attend to his cry because he is brought very low, and rescue him from his persecutors, who are too strong for him. Verse 7 ends with a petition and a promise: bring me out of prison, that I may give thanks to your name; the righteous will surround me, for you will deal bountifully with me.