A maskilb of David. When he was in the cave. A prayer.
1I cry aloud to the Lord;
I lift up my voice to the Lord for mercy.
2I pour out before Him my complaint;
before Him I tell my trouble.
3When my spirit grows faint within me,
it is You Who watch over my way.
In the path where I walk
people have hidden a snare for me.
4Look and see, there is no one at my right hand;
no one is concerned for me.
I have no refuge;
no one cares for my life.
5I cry to you, Lord;
I say, “You are my refuge,
my portion in the land of the living.”
6Listen to my cry,
for I am in desperate need;
rescue me from those who pursue me,
for they are too strong for me.
7Set me free from my prison,
that I may praise Your Name.
Then the righteous will gather about me
because of Your goodness to me.
This Psalm is a prayer, the substance of which David offered up to God when he was forced by Saul to take shelter in a cave, and which he afterwards penned in this form.
Whether it was in the cave of Adullam, or that of Engedi, that David prayed this prayer, is not material; it is plain that he was in distress. It was a great disgrace to so great a soldier, to be put to such shifts for his own safety, and a great terror to be so hotly pursued and every moment in expectation of death.