You keep your heart clean when someone hurts you by taking your pain to God, leaving justice in his hands, owning your part, staying rooted while you heal and praising him before the story is resolved. David learned this after one of the worst betrayals of his life. Psalm 52 shows how he went through deep hurt without letting bitterness take over his heart.
Take Your Pain to God First
One day David was a national hero with songs written about him. The next, King Saul was throwing spears at him, and soon David was running for his life. On the run, he stopped at the town of Nob, where the priest Ahimelek gave him bread and a sword. A man named Doeg the Edomite saw it and reported it to Saul. Saul, spiraling in jealousy, ordered Doeg to kill the priests of the Lord, and he did (1 Samuel 22:17-18). David wrote Psalm 52 in response, and he started by naming the wrong: “Why do you boast of evil, you mighty hero?” (Psalm 52:1).
Psalm 62:8 Trust in him at all times, you people; pour out your hearts to him, for God is our refuge.
That’s lament: honesty aimed toward heaven. Before David told anyone else what happened, he told God. If we don’t take our pain to God, our pain will take us. Trade the passive-aggressive post for an honest prayer. God can handle your real feelings, even when you’re angry with him.
Leave Justice to God
What Doeg and Saul did was horrific, but David didn’t plot revenge. He trusted God to deal with it: “Surely God will bring you down to everlasting ruin” (Psalm 52:5). Paul gives us the same instruction.
Romans 12:19 Do not take revenge, my dear friends, but leave room for God’s wrath, for it is written: “It is mine to avenge; I will repay,” says the Lord.
Revenge chains you to the very person who hurt you. Instead, Scripture tells us to “repay evil with blessing” (1 Peter 3:9) and to “overcome evil with good” (Romans 12:21). Letting God judge doesn’t mean ignoring wisdom or boundaries. “Above all else, guard your heart, for everything you do flows from it” (Proverbs 4:23). You can guard your heart without hardening it, which is the heart of forgiving the unforgivable.
Own Your Part
David wasn’t blameless at Nob. He lied to Ahimelek about why he was there (1 Samuel 21:2), and he later admitted to the priest’s only surviving son, “I am responsible for the death of your whole family” (1 Samuel 22:22). That didn’t excuse Saul or Doeg, but David still had to face his own heart.
Psalm 139:23-24 Search me, God, and know my heart; test me and know my anxious thoughts. See if there is any offensive way in me, and lead me in the way everlasting.
Being wronged doesn’t automatically make us right. Jesus teaches us to go to the person who hurt us, “just between the two of you” (Matthew 18:15), instead of talking about them to everyone else. This step stings, but it heals. You can learn more about how forgiveness works.
Stay Planted and Keep Praising
David closes Psalm 52 with a picture of a tree and a promise to praise God, even though nothing in his situation had been resolved yet.
Psalm 52:8-9 But I am like an olive tree flourishing in the house of God; I trust in God’s unfailing love for ever and ever. For what you have done I will always praise you in the presence of your faithful people. And I will hope in your name, for your name is good.
Olive trees grow slowly, live for centuries and bear more fruit after they’re pruned. Healing works the same way. Trials produce perseverance (James 1:2-4), so “let us not become weary in doing good” (Galatians 6:9). Stay rooted in worship, Scripture and community. And when the hurt resurfaces, add a “but God.” Joseph told the brothers who sold him, “You intended to harm me, but God intended it for good” (Genesis 50:20). Corrie ten Boom survived a Nazi concentration camp and later met one of the guards who had abused her sister. She prayed, “Jesus, help me,” took his hand and forgave him. That’s how you get rid of bitterness.
The Takeaway
How do you keep your heart clean when someone hurts you? Take your pain to God, leave justice to him, own your part, stay planted and keep praising. Everyone goes through hurt, but not everyone grows through it. Jesus took our sin on himself, and “God’s love has been poured out into our hearts through the Holy Spirit” (Romans 5:5). That love is what makes forgiveness possible.