Psalm 142 · a question people ask

"Bring my soul out of prison" (142:7). Was the psalmist in a prison?

In the text

The psalm doesn't say. Its title places him "in the cave" (142:1), and 1 Samuel's accounts of David in the caves speak of no prison (1 Samuel 22:1-2, 24:1-3). Prison is masger (tap prison), and this is the only time the Psalms have the word. The psalm doesn't say whether it means the cave, a prison or something else, and these notes don't choose. What it does say is why it asks: "that I may give thanks to your name" (142:7).

The verses

“A contemplation by David, when he was in the cave. A Prayer. I cry with my voice to the LORD. With my voice, I ask the LORD for mercy.”
Psalm 142:1 · World English Bible
“Bring my soul out of prison, that I may give thanks to your name. The righteous will surround me, for you will be good to me.”
Psalm 142:7 · World English Bible
“David therefore departed from there and escaped to Adullam’s cave. When his brothers and all his father’s house heard it, they went down there to him. Everyone who was in distress, everyone who was in debt, and everyone who was discontented gathered themselves to him; and he became captain over them. There were with him about four hundred men.”
1 Samuel 22:1-2 · World English Bible
“When Saul had returned from following the Philistines, he was told, “Behold, David is in the wilderness of En Gedi.” Then Saul took three thousand chosen men out of all Israel, and went to seek David and his men on the rocks of the wild goats. He came to the sheep pens by the way, where there was a cave; and Saul went in to relieve himself. Now David and his men were staying in the innermost parts of the cave.”
1 Samuel 24:1-3 · World English Bible

From Favor's study of Psalm 142

Psalm 142: You are my refuge

In Psalm 142, the refuge that "has fled" (142:4) and the refuge the psalmist names in the LORD, "You are my refuge" (142:5), are two different Hebrew words, manos and machseh, one verse apart. And the cry of 142:1 comes back in 142:5 in the same Hebrew verb.

In Favor, questions like this come up right where they arise as you read, with the Hebrew and Greek behind the words and how the chapter leads to Jesus.

First week free, then $10 a month per person

More questions about Psalm 142

All questions about Psalms →

The best way to learn the Bible

Favor opens up every chapter as you read.

Favor is a Bible study app for your phone or computer. It takes you through the Bible one chapter at a time, a few minutes a day, and shows you what's really there: the words behind the words, the moments most people miss, and how the whole story fits together. For you. For everyone.

  • Every chapter explains itself

    As you read, short notes open up what's really going on, the details most readers walk past, and the honest questions people ask.

  • The Hebrew and Greek behind it

    Tap a highlighted word to see the original, how to say it, and what it means, checked against the original-language texts.

  • Every page leads to Jesus

    Watch promises made in Genesis kept in Jesus. Each line lights up on your map as you read.

  • Better together

    Read on your own, or start a Bible study with friends, family or your church. Answers stay sealed until you meet, then appear together.

  1. 1

    Start your free week

    Sign up in a minute with your email.

  2. 2

    Read a few minutes a day

    Each chapter opens itself up as you go. Tap what you're curious about.

  3. 3

    Bring your people, if you like

    Send one link. Everyone reads the same chapter, then meets to talk.

The best way to study the Bible.

Your small group or your church can use Favor for Bible study, or you can read by yourself.

First week free, then $10 a month per person

Questions like this, in every chapter

The best way to learn the Bible. For you. For everyone.

There's a seat for you at the table.

Start your free week

First week free, then $10 a month per person · Log in

Last reviewed September 28, 2026. Scripture quotations are from the World English Bible, which is in the public domain. Every answer cites the verses it rests on. What we believe · All Bible questions