Commentary on Psalms 31

Psalm 31 is a lament that moves through desperate petition into confident trust, making it one of the most emotionally honest prayers in the Psalter. David cries out from a place of physical affliction, social shame, and spiritual distress, yet he repeatedly anchors himself in God's character — His righteousness, steadfast love, and faithfulness. The psalm's arc from anguish to assurance is not a simple progression; the two moods interweave, reflecting real faith under pressure. Jesus himself quoted verse 5 from the cross ("Into your hand I commit my spirit"), giving this ancient prayer a permanent place at the center of the gospel story.

Historical context

Psalm 31 is attributed to David, though the specific historical setting is uncertain. The language of siege (v. 21), slander (v. 13), and conspiracy (v. 13) suggests a period when David was under threat — possibly during Absalom's rebellion or Saul's pursuit. The psalm's structure follows the classic lament pattern: invocation, petition, complaint, confession of trust, and vow of praise. But unlike some laments that move cleanly from sorrow to joy, this one circles back to distress even after declaring trust (compare vv. 14-15 with vv. 22-24). This honesty reflects the real rhythm of faith, where confidence and fear can coexist. The psalm's most famous verse, "Into your hand I commit my spirit" (v. 5), was quoted by Jesus on the cross (Luke 23:46) and later by Stephen at his martyrdom (Acts 7:59), making it a prayer of final surrender for believers facing death.

Verse by verse

  • 1:

    David opens with a double plea: deliverance and refuge. The Hebrew word for "refuge" (chasah, חָסָה) means to flee for shelter, like a bird under a mother's wings. He grounds his request not in his own worthiness but in God's righteousness — God's covenant faithfulness to His promises. This is not a claim of personal merit but a plea for God to be true to His own character.

  • 5:

    This is the theological heart of the psalm. "Into your hand I commit my spirit" uses the Hebrew verb pāqad (פָּקַד), which carries the sense of entrusting something precious for safekeeping. David is not merely resigning himself to death; he is actively placing his life — his breath, his future, his very self — into God's custody. Jesus' use of this verse on the cross (Luke 23:46) transforms it into the ultimate act of trust: the Son entrusting Himself to the Father even in the moment of abandonment.

  • 6:

    David draws a sharp line: he hates those who trust in "worthless idols" (literally "vapors" or "emptiness" — hevel, הֶבֶל, the same word used in Ecclesiastes). The contrast is between trust in nothing and trust in the living God. This is not personal animosity but a theological declaration: allegiance to idols is ultimately futile, and David has chosen a different foundation.

  • 7:

    Joy and steadfast love (chesed, חֶסֶד) are linked. God's covenant loyalty is not abstract; it is experienced as gladness. David's confidence rests not on his circumstances but on God's character — and on the fact that God has seen his affliction. The verb "known" (yada, יָדַע) implies intimate, experiential knowledge, not mere awareness.

  • 9:

    The tone shifts sharply. David describes physical and emotional distress: eyes wasted from grief, soul and body consumed. The Hebrew word for "distress" (tsarah, צָרָה) suggests a narrow, confined place — the opposite of the "broad place" of deliverance. This is raw, embodied lament, not sanitized piety.

  • 12:

    David's social world has collapsed. He is forgotten "like a dead man" — in ancient Israel, the dead were cut off from community and worship (Ps 88:5). He is like a "broken vessel," a clay pot shattered beyond repair. The image captures both the fragility of human life and the depth of David's isolation.

  • 14:

    In the middle of the complaint, trust resurfaces. "But I trust in you, O Lord" is a deliberate act of will against the evidence of his senses. The Hebrew verb batach (בָּטַח) means to feel safe, to be confident. David declares that his security is not in circumstances but in the person of God. The repetition of "my God" (v. 14) echoes Jesus' cry from the cross (Mark 15:34), though here it is a cry of trust rather than dereliction.

  • 15:

    "My times are in your hand" — a profound statement of sovereignty. The Hebrew word for "times" (ittot, עִתּוֹת) refers to the seasons and moments of life, not just chronological time. David surrenders control over the entire narrative of his life: its length, its circumstances, its outcome. This is the practical meaning of trusting God with one's spirit (v. 5).

  • 19:

    A burst of praise. God's goodness is "stored up" (tsaphan, צָפַן) like a treasure reserved for those who fear Him. The image is of a king's treasury, abundant and secure. David contrasts the public shame he experienced (v. 11) with the public display of God's goodness — a reversal that only faith can anticipate.

  • 22:

    David admits a moment of panic: "I am cut off from your sight." This is the raw honesty of the psalm — even the man of faith can feel abandoned. But the verse ends with a testimony: God heard "the voice of my pleas for mercy." The psalm does not deny the experience of dereliction; it insists that God is present even in it.

  • 24:

    The final verse is a call to the whole community. "Be strong, and let your heart take courage" — the same charge God gave Joshua (Josh 1:6-7, 9). The plural imperative shows that David's personal trust is meant to strengthen others. The ground of courage is not human resolve but the hope that God will act for those who wait on Him.

Key themes

  • Trust in God's character amid distress
  • The sovereignty of God over life's times
  • The experience of social isolation and shame
  • The connection between lament and praise
  • Surrender of one's spirit into God's hands

Application

Psalm 31 gives us permission to be honest with God about our pain while refusing to let that pain have the final word. David does not pretend to be unafraid; he admits feeling cut off from God's sight (v. 22). But he also practices the discipline of remembering — recalling God's steadfast love, His faithfulness, His goodness stored up for those who fear Him. This is not toxic positivity or denial; it is the hard work of faith. For the believer facing chronic illness, betrayal, or the fear of death, this psalm offers a prayer to pray: "Into your hand I commit my spirit." It is a prayer of surrender that does not demand immediate rescue but trusts the One who holds our times. And because Jesus prayed these same words from the cross, we know that the Father received them — and receives us.

Frequently asked questions

Why did Jesus quote Psalm 31:5 on the cross?

Jesus quoted Psalm 31:5 — "Into your hand I commit my spirit" — as His final words according to Luke 23:46. By praying this verse, Jesus was expressing complete trust in the Father even at the moment of His death. The psalm originally expressed David's confidence that God would deliver him; Jesus, facing the ultimate trial, used the same words to entrust His life to the Father. This shows that the psalm was understood messianically, as a prayer of the righteous sufferer who trusts God even in death.

What does it mean that 'my times are in your hand' in Psalm 31:15?

In Psalm 31:15, David declares that his "times" — the seasons, circumstances, and duration of his life — are entirely under God's control. The Hebrew word ittot (עִתּוֹת) refers to the specific moments and events of a person's life. This is a radical statement of trust: David is not demanding a particular outcome but surrendering the entire narrative of his life to God. It means that nothing happens outside God's sovereign will, and that the believer can rest in God's timing even when it does not match their own.

Is Psalm 31 a lament or a psalm of trust?

Psalm 31 is both. It follows the structure of a lament — with elements like complaint, petition, and confession of trust — but the trust element is unusually prominent and interwoven throughout. David moves back and forth between distress (vv. 9-13) and confidence (vv. 14-18), reflecting the real experience of faith under pressure. The psalm does not resolve neatly; even after declaring trust, David admits to feeling cut off from God (v. 22). This makes it one of the most psychologically realistic psalms, showing that lament and trust can coexist in the same prayer.

What does 'I hate those who pay regard to worthless idols' mean in Psalm 31:6?

Psalm 31:6 expresses David's rejection of idolatry, not personal hatred of individuals. The "worthless idols" are literally "vapors" or "emptiness" (hevel, הֶבֶל), the same word used in Ecclesiastes for life's futility. David is drawing a sharp contrast between trusting in empty things and trusting in the living God. This is a theological declaration, not a call to violence. It reflects the first commandment's exclusive loyalty to God and reminds readers that misplaced trust leads to disappointment.

How can Psalm 31 help someone struggling with anxiety or fear?

Psalm 31 offers a model for bringing anxiety to God without pretending it does not exist. David admits his distress, his physical symptoms, and his social isolation (vv. 9-13), but he repeatedly turns his attention back to God's character — His steadfast love, His faithfulness, His sovereignty (vv. 14-15). The psalm teaches that faith does not mean the absence of fear but the choice to entrust one's fears to a God who is trustworthy. The final verse (v. 24) directly addresses the anxious reader: "Be strong, and let your heart take courage, all you who wait for the Lord."