The psalm begins with a petition: hear my prayer, O Lord; give ear to my pleas; answer me in your faithfulness and righteousness. Right away verse 2 is key: do not enter into judgment with your servant, for no one living is righteous before you. David does not appeal to his innocence but to God's mercy.
Verses 3 and 4 describe his distress: the enemy has pursued his soul, crushed his life to the ground and made him dwell in darkness like those long dead. His spirit faints within him and his heart is appalled. Verse 5 is a turn: he remembers the days of old, meditates on all the works of the Lord and ponders the work of his hands.
Verses 6 to 8 are prayer with the whole body: he stretches out his hands to the Lord, his soul thirsts for him like a parched land. He asks for a quick answer, for his spirit fails, and that God not hide his face. May he let him hear his steadfast love in the morning, for in him he trusts, and teach him the way he should go. Verses 9 to 12 ask for deliverance from his enemies, to be taught to do God's will, that his good Spirit lead him on level ground, to be revived for the sake of his name, and that in steadfast love God cut off his adversaries, for he is his servant.