A Contemplation of David. A Prayer when he was in the cave.
1 I cry out to the LORD with my voice; with my voice to the LORD I make my supplication.
2 I pour out my complaint before Him; I declare before Him my trouble.
3 When my spirit was overwhelmed within me, then You knew my path. In the way in which I walk they have secretly set a snare for me.
4 Look on my right hand and see, for there is no one who acknowledges me; refuge has failed me; no one cares for my soul.
5 I cried out to You, O LORD: I said, “You are my refuge, my portion in the land of the living.
6 Attend to my cry, for I am brought very low; deliver me from my persecutors, for they are stronger than I.
7 Bring my soul out of prison, that I may praise Your name; the righteous shall surround me, for You shall deal bountifully with me.”
How did he know there was a trap in his way if it was laid in secret? He knew because God knew and warned him. The cave he was hiding in was no longer safe, thankfully his true refuge was in God.