versomi

What to read

Psalm 51 Explained: Create in Me a Clean Heart

Read Psalm 51 in full, then go through it line by line: David’s prayer after Bathsheba, what washed whiter than snow means, and how to pray it today.

Block print of a sprig of hyssop beside a clay basin of water on a snowy ledge

The short answer

Psalm 51 is David’s prayer of repentance, written after the prophet Nathan confronted him about Bathsheba. David hides nothing, asks God to wash him, and prays, “Create in me a clean heart, O God. Renew a right spirit within me.” It’s the best known prayer for forgiveness in the Bible.

Psalm 51 in full

Here is the whole psalm in the World English Bible, numbered by verse. Its long heading is part of verse 1, and it tells you when David prayed it.

  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.”
  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, so you may be proved right when you speak, and justified when you judge.”
  5. “Behold, I was born in iniquity. My mother conceived me in sin.”
  6. “Behold, you desire truth in the inward parts. You teach me wisdom in the inmost place.”
  7. “Purify me with hyssop, and I will be clean. Wash me, and I will be whiter than snow.”
  8. “Let me hear joy and gladness, that the bones which you have broken may rejoice.”
  9. “Hide your face from my sins, and blot out all of my iniquities.”
  10. “Create in me a clean heart, O God. Renew a right spirit within me.”
  11. “Don’t throw me from your presence, and don’t take your Holy Spirit from me.”
  12. “Restore to me the joy of your salvation. Uphold me with a willing spirit.”
  13. “Then I will teach transgressors your ways. Sinners will be converted to you.”
  14. “Deliver me from the guilt of bloodshed, O God, the God of my salvation. My tongue will sing aloud of your righteousness.”
  15. “Lord, open my lips. My mouth will declare your praise.”
  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. O God, you will not despise a broken and contrite heart.”
  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.”

The story behind Psalm 51

The heading says David wrote it “when Nathan the prophet came to him, after he had gone in to Bathsheba.” The story is in 2 Samuel 11 and 12. David slept with Bathsheba, the wife of one of his soldiers, Uriah. When she became pregnant, David arranged for Uriah to be killed in battle and married her. “But the thing that David had done displeased the LORD.” (2 Samuel 11:27).

God sent Nathan, who told David a story about a rich man who stole a poor man’s only lamb. David was furious, and Nathan said, in effect, you are that man. David didn’t argue: “I have sinned against the LORD.” (2 Samuel 12:13). Psalm 51 is that confession stretched out into a prayer.

Have mercy on me (verses 1–6)

David starts with God’s character, not his own excuses: “according to your loving kindness”. He has no claim to make except God’s mercy.

He uses three words for what he did, transgressions, iniquity and sin, and three for what he needs: blot out, wash and cleanse. He isn’t minimizing anything.

“Against you, and you only, I have sinned.” Bathsheba and Uriah were wronged, terribly. David doesn’t mean they don’t count. He means that every wrong against a person is also, finally, a wrong against God.

Verse 5 says he was “born in iniquity”. It doesn’t mean that birth or his mother did anything wrong. It means his sin wasn’t a one-off. It goes back as far as he goes.

Whiter than snow (verses 7–12)

Hyssop was a small bushy plant used to sprinkle water or blood in Israel’s cleansing rituals. David asks God himself to do the sprinkling: “Wash me, and I will be whiter than snow.” Isaiah later used the same picture: “Though your sins are as scarlet, they shall be as white as snow.” (Isaiah 1:18).

“Create in me a clean heart, O God.” The Hebrew word for create is the one used in the Bible’s first verse, “In the beginning, God created the heavens and the earth.” (Genesis 1:1). David isn’t asking to be tidied up. He’s asking God to make something new.

David also prays, “don’t take your Holy Spirit from me.” He had watched it happen to King Saul before him: “Now the LORD’s Spirit departed from Saul” (1 Samuel 16:14). What David fears most isn’t punishment. It’s losing God.

A broken and contrite heart (verses 13–19)

Forgiven people have something to say. David promises to teach others God’s ways, and to sing. “Lord, open my lips. My mouth will declare your praise.” Many churches open their daily morning prayer with this line.

Then the heart of the psalm: “The sacrifices of God are a broken spirit. O God, you will not despise a broken and contrite heart.” Contrite means crushed with sorrow. God doesn’t want a ritual to cover the sin. He wants honesty, and he never turns that away.

The last two verses pray for Jerusalem’s walls. Many scholars think they were added later, when the city lay in ruins, so a whole people could pray David’s prayer as their own.

What Psalm 51 says about being forgiven

God did forgive David. Nathan told him, “The LORD also has put away your sin.” Yet the story goes on, and the consequences were heavy: the child died, and violence followed David’s family for years. Forgiveness puts things right between you and God. It doesn’t always undo what your sin set in motion.

If you’ve hurt someone, praying Psalm 51 goes together with making things right with them where you can. And if guilt keeps telling you that you’re too far gone, remember who wrote this prayer. The New Testament makes the same promise: “If we confess our sins, he is faithful and righteous to forgive us the sins and to cleanse us from all unrighteousness.” (1 John 1:9).

David wrote another psalm about the relief afterward. Psalm 32 says, “I acknowledged my sin to you. I didn’t hide my iniquity.” Then God forgave.

How to pray Psalm 51

  1. Start with verse 1, and ask for mercy before you list anything.
  2. Name what you did, plainly, without excuses.
  3. Pray verse 10 slowly, and ask God for a new heart, not just a clean record.
  4. Pray verse 12, and ask for the joy you’ve lost.
  5. End with verse 15, and thank God that he doesn’t despise a broken heart.

For more on this, read our Bible verses about forgiveness. Psalm 51 is read in many churches on Ash Wednesday, and it’s a good prayer for the end of the day too, alongside our night prayer.

Common questions

Why did David write Psalm 51?

He wrote it after the prophet Nathan confronted him for taking Bathsheba and having her husband Uriah killed. The psalm is his confession and his plea for mercy.

What does “Create in me a clean heart” mean?

David asks God to make him new on the inside, not just to excuse what he did. The word create is the same one used for God creating the world, so it’s a prayer for a fresh start only God can give.

What does hyssop mean in Psalm 51?

Hyssop was a plant used to sprinkle water or blood in Israel’s purification rites. When David says, “Purify me with hyssop”, he’s asking God to make him clean the way those rites made people clean to worship.

Why is Psalm 51 read on Ash Wednesday?

Ash Wednesday begins Lent, a season of repentance, and Psalm 51 is the Bible’s classic prayer of repentance. Many churches read or sing it as the ashes are given.