Psalm 51 is a prayer of confession, the one most often read by people who want to understand how to come honestly before God after doing wrong. Its heading traces it to David’s sin with Bathsheba and the confrontation by the prophet Nathan, though the psalm itself never names them. People return to it because it refuses both excuses and despair: it names the sin plainly, asks for a real cleansing, and looks ahead to restored worship.
Psalm 51 Summary
The psalm opens with a plea for mercy grounded in God’s steadfast love rather than in anything the writer has earned. The speaker asks to have transgressions blotted out and to be washed thoroughly, and admits that the wrong is constantly before him. The middle of the psalm moves deeper, from the act itself to the condition of the heart, and asks God to create a clean heart and renew a steady spirit.
The final section turns outward. Having been forgiven, the writer promises to teach others God’s ways, sings of God’s righteousness, and asks God to build up Jerusalem. The psalm ends not with sacrifice on the altar but with a broken spirit offered to God, and with confidence that right worship will follow.
Background and Setting
Psalm 51 belongs to the Psalter, the Hebrew hymnbook that forms part of the wisdom and poetry books of the Old Testament. Its superscription links it to David after Nathan’s rebuke, which places the composition in the early tenth century BC according to traditional dating. Many modern scholars accept an association with David while allowing that the psalm was shaped and used in worship over a longer period.
The psalm was prepared for communal and personal worship, and its closing request for Jerusalem’s walls suggests it was sung or prayed in the context of the temple community. It sits among the penitential psalms, a group of prayers traditionally used by believers seeking restoration after sin.
Psalm 51 Section by Section
Verses 1-2: Mercy Asked for Sin Named
1 Have mercy on me, God, according to your loving kindness. According to the multitude of your tender mercies, blot out my transgressions. 2 Wash me thoroughly from my iniquity. Cleanse me from my sin.
Psalm 51:1-2 (WEB)
The opening words do not begin with a promise or a list of good deeds. They begin with a request addressed to the God whose love is large enough to cover sin. The writer uses three pictures in quick succession, blotting out, washing, and cleansing, to show that forgiveness is something God must do, not something the sinner can manufacture.
Notice that the request is specific. The psalm does not ask in vague terms to be forgiven in general. It names transgression, iniquity, and sin, and asks God to deal with each. This honesty sets the tone for everything that follows, because a prayer that names the wrong is a prayer that expects real change.
Verses 3-6: The Sin Before Me
3 For I know my transgressions. My sin is constantly before me. 4 Against you, and you only, I have sinned, and done that which is evil in your sight; that you may be proved right when you speak, and justified when you judge.
Psalm 51:3-4 (WEB)
Here the speaker admits full knowledge of what was done: “my sin is constantly before me.” The confession is not offered to manage public image or to soften the record. It is an acknowledgment that the wrong has been living in the writer’s memory and conscience, and that it cannot be pushed out of view.
The line “against you, and you only, I have sinned” has puzzled readers, since David clearly harmed Uriah and Bathsheba. Its point is that every sin ultimately offends the God who made and judges all people, and that this is the deepest wound. The passage also admits that God is right to judge, and that the confession makes no claim to deserve better treatment than God gives.
Verses 7-12: A Clean Heart Created
Purify me with hyssop, and I will be clean. Wash me, and I will be whiter than snow.
Psalm 51:7 (WEB)
The language moves from washing the outside to renewing the inside. Hyssop, a plant used in purification rites, and the image of snow both speak of a complete cleansing. Yet the writer knows that a washed exterior is not enough, so the request turns to the heart itself. The verb “create” recalls the first creation, suggesting that only God can make what is needed.
The section also asks not to be cast from God’s presence and not to lose the Holy Spirit. These are the fears of anyone who has sinned badly: that the relationship is broken beyond repair. The psalm answers them by asking for restoration rather than merely pardon, a joy and steadiness that come back from God.
Verses 13-17: Teaching Others and the Broken Heart
16 For you don’t delight in sacrifice, or else I would give it. You have no pleasure in burnt offering. 17 The sacrifices of God are a broken spirit. A broken and contrite heart, O God, you will not despise.
Psalm 51:16-17 (WEB)
Once forgiven, the writer promises to teach transgressors God’s ways. A restored person becomes a witness, and the story of failure and mercy turns into a means of helping others return. The request to be delivered from bloodshed reminds readers that repentance must be honest about its real consequences.
Verses 16 and 17 make the central theological point. God does not delight in ritual offerings offered without a heart behind them. What God desires is “a broken spirit” and “a broken and contrite heart.” This does not cancel the sacrifices of the law, but it places them in their proper order: outward worship has meaning only when it flows from a humble heart.
Verses 18-19: Zion Restored and Righteous Sacrifices
18 Do well in your good pleasure to Zion. Build the walls of Jerusalem. 19 Then you will delight in the sacrifices of righteousness, in burnt offerings and in whole burnt offerings. Then they will offer bulls on your altar.
Psalm 51:18-19 (WEB)
The psalm closes by widening its view to the city and the nation. A prayer that began with one man’s sin ends with prayer for Jerusalem’s walls and its altar. The closing verses show that personal restoration is connected to the wellbeing of God’s people as a whole.
The final picture is of sacrifices of righteousness, offered rightly once the heart has been made clean. The sequence matters: forgiveness and renewal come first, and then worship that pleases God. The psalm leaves the reader with a hope that God will rebuild what has been damaged.
Key Themes in Psalm 51
- Mercy over merit: The psalm rests entirely on God’s steadfast love and tender mercies rather than on anything the writer has earned.
- Honest confession: The sin is named clearly and kept in view, without excuse or minimizing.
- Inward renewal: Cleansing of outward acts is not enough; God must create a clean heart and a right spirit.
- The broken heart: God values a contrite spirit above ritual offerings given without humility.
- Restoration and witness: Forgiven people are sent back to teach others and to serve the wider community of God’s people.
Lessons From Psalm 51 for Today
Consider someone who has broken a promise to a spouse and now finds themselves rehearsing excuses at the kitchen table. Psalm 51 offers a different starting point: name the wrong plainly, ask God for mercy, and stop defending yourself. The honesty is uncomfortable, but it is the only ground on which real change can begin.
Consider also the believer who has gone through the motions of church attendance and giving while carrying resentment or secret sin. The psalm’s line about God not delighting in sacrifice without a broken heart asks whether outward religious activity has become a way to avoid inward honesty. It invites a quiet inventory of the heart before the next act of worship.
Finally, think of the person who wonders whether a serious failure has made them unfit for God’s family. The request not to be cast out and the promise of restored joy speak to that fear. The psalm does not pretend the consequences vanish, but it shows a God who restores and then sends the restored person back to serve others.
Questions for Reflection
- What does it mean to you that sin is ultimately an offense against God, even when other people are also harmed?
- Where in your life do you tend to ask God to fix your behavior rather than to create a new heart in you?
- What would a “broken and contrite heart” look like in your daily routine rather than only in a moment of prayer?
- How might your own restoration after failure equip you to encourage someone else who is struggling?
A Prayer From Psalm 51
Lord, you are merciful, and I come to you without excuses. I know what I have done, and it is before me every day. Wash me from my sin and make me clean. I cannot make my own heart new, so I ask you to create in me a clean heart and to renew a steady spirit within me.
Do not turn me away from your presence, and do not take your Spirit from me. Restore the joy of your salvation and uphold me with a willing spirit. Let my lips speak your praise, and let my life be offered to you as a broken and contrite heart that you will not despise. Amen.
Frequently Asked Questions
Who wrote Psalm 51?
The superscription attributes Psalm 51 to David and links it to his confrontation by the prophet Nathan after his sin with Bathsheba. Many scholars accept this association while noting that the psalm may have been shaped and used in worship over time.
Why does the psalm say sin is against God alone?
The point is that every sin ultimately offends the God who made and judges all people, even when other people are also harmed. The writer is not denying the injury to others but naming the deepest offense.
What is a broken spirit in Psalm 51?
A broken spirit refers to a humble, contrite heart that acknowledges wrong and depends entirely on God’s mercy. Verse 17 says God does not despise such a heart, even when outward sacrifices are not offered.