If anxiety keeps you up at night, David’s story is for you. In this article we will walk through four moments when David faced overwhelming fear — and the five lessons his life teaches us about finding peace in God.
What Does the Bible Say About David and Anxiety?
How did King David overcome anxiety? The Bible shows David overcoming anxiety by crying out to God in honest prayer (Psalm 3:4), preaching truth to his own troubled soul (Psalm 42:11), trusting God’s promises over his fears (Psalm 56:3), and resting in God’s protection even in danger (Psalm 4:8). David’s psalms prove that faith and fear can exist in the same heart — and that prayer is the bridge from one to the other.
David’s life was not a straight line from fear to faith. It was a daily practice: feel the fear, tell God about it, remember who God is, and choose trust. Let’s look at how that played out in four real crises.
The Night David Could Not Sleep: Psalm 3
David’s own son Absalom had turned the kingdom against him. David fled Jerusalem barefoot and weeping, climbing the Mount of Olives while thousands plotted his death (2 Samuel 15). If there was ever a night for anxiety, this was it.
Yet Psalm 3 — written about this very night — ends with something astonishing:
“But thou, O LORD, art a shield for me; my glory, and the lifter up of mine head. I cried unto the LORD with my voice, and he heard me out of his holy hill. Selah. I laid me down and slept; I awaked; for the LORD sustained me. I will not be afraid of ten thousands of people, that have set themselves against me round about.” (Psalm 3:3-6)
David slept. In the middle of a coup, with an army hunting him, David laid down and slept. How? He did three things: he named God his shield, he cried out honestly, and then he let go. Sleep was his act of surrender — a confession that the battle belonged to the Lord, not to him.
Even while fleeing for his life, David learned to sleep in God’s care.
Terrified in Enemy Territory: Psalm 34
Years earlier, David was running from a jealous King Saul when he made a desperate choice: he fled to Gath, the hometown of Goliath. The Philistines recognized him, and David was terrified. He pretended to be insane to escape with his life (1 Samuel 21:10-15).
It was not his finest moment. But look at what David credited afterward — not his clever acting, but God:
“I sought the LORD, and he heard me, and delivered me from all my fears.” (Psalm 34:4)
David’s anxiety did not disqualify him; it drove him to seek the Lord. And God delivered him — from the danger and from the fears themselves. As Our Daily Bread reflects, David found his only reliable refuge when he turned to God, not to his own schemes.
Here is the lesson: panic makes us reach for control. Faith makes us reach for God. David tried control first — and it left him drooling on a gate. When he sought the Lord instead, he found deliverance.
The Battle Inside: When David Preached to His Own Soul
Not all of David’s anxiety came from enemies. Some of it came from inside. Psalm 42 was written when David felt far from God — cast down, disquieted, drowning in tears. His soul was in turmoil, and no enemy was holding the sword.
David’s response is one of the most practical anxiety tools in all of Scripture. He talked to himself — or rather, he preached to himself:
“Why art thou cast down, O my soul? and why art thou disquieted within me? hope thou in God: for I shall yet praise him, who is the health of my countenance, and my God.” (Psalm 42:11)
Notice what David did not do: he did not obey his feelings. He questioned them. He reminded his soul of truth it had forgotten: God is still God, hope is still reasonable, and praise is still coming. When anxious thoughts spiral, follow David’s example — stop listening to your soul and start leading it.
David also knew the comfort of God’s presence in a crowded mind:
“In the multitude of my thoughts within me thy comforts delight my soul.” (Psalm 94:19)
Anxious thoughts multiply. But God’s comforts can outnumber them. David learned to let God’s promises crowd out his worries.
David turned his caves of fear into chapels of prayer.
Distressed at Ziklag: David Encouraged Himself in the Lord
At Ziklag, David hit rock bottom. While he was away, raiders burned the town and carried off the families — including David’s own wives. His men, grieving and furious, talked of stoning him. David had lost everything, and even his friends had turned.
“And David was greatly distressed; for the people spake of stoning him, because the soul of all the people was grieved, every man for his sons and for his daughters: but David encouraged himself in the LORD his God.” (1 Samuel 30:6)
There was no one left to encourage David — so he encouraged himself in the Lord. He prayed, he asked God for direction, and he found strength to act. That same day, God led him to recover everything that had been taken.
When everyone around you is discouraged, you can still be encouraged — because your encouragement does not come from people. It comes from the Lord your God.
5 Lessons from David for Your Anxiety Today
- Tell God the unfiltered truth. David never cleaned up his prayers. He cried, questioned, and even complained to God — and God called him a man after His own heart. Honest prayer is the first step out of anxiety (Psalm 3:4).
- Preach to your soul, not just listen to it. When feelings spiral, do what David did in Psalm 42:11: ask your soul why it is downcast, then answer with truth — “hope thou in God.”
- Trade control for trust. David’s worst moments came when he grabbed for control (Gath). His best moments came when he released it (Psalm 3:5). Anxiety loosens its grip when you stop trying to carry what only God can carry — “casting all your care upon him; for he careth for you” (1 Peter 5:7).
- Remember what God has already done. David constantly rehearsed God’s past faithfulness: “The LORD is my light and my salvation; whom shall I fear?” (Psalm 27:1). Keep a record of God’s faithfulness — it becomes armor for the next battle.
- Let God’s peace guard your sleep. David slept through a coup and declared, “I will both lay me down in peace, and sleep: for thou, LORD, only makest me dwell in safety” (Psalm 4:8). Tonight, hand God the worries you cannot solve and rest. He never sleeps, so you can.
Like David, you can lie down in peace — God stays awake so you can rest.
Frequently Asked Questions
Did King David struggle with anxiety?
Yes. The psalms show David wrestling with fear, grief, and despair — fleeing Absalom (Psalm 3), terrified in Gath (Psalm 34), and cast down in spirit (Psalm 42). His honesty about it is part of why his story helps us.
What psalm did David write about anxiety?
Several: Psalm 3 (fear during Absalom’s rebellion), Psalm 34 (fear in Gath), Psalm 42 (inner turmoil), Psalm 56 (trust when afraid), and Psalm 94 (comfort for crowded thoughts).
How did David calm his fears?
He prayed honestly, reminded himself of God’s past faithfulness, preached truth to his own soul, and chose to trust God’s protection — even sleeping peacefully in danger (Psalm 3:5; 4:8).
What does the Bible say about anxiety?
Scripture acknowledges anxiety honestly and points us to prayer and trust. As GotQuestions.org explains, we are told to bring our cares to God in prayer, and His peace — which passes understanding — will guard our hearts and minds (Philippians 4:6-7).
Can Christians experience anxiety and still have faith?
Absolutely. David is proof: the man after God’s own heart felt deep fear and still trusted God. Anxiety is not the absence of faith — it is often the doorway to deeper trust.
See Also
Conclusion
King David overcame anxiety the same way you can: not by becoming fearless, but by becoming faithful. He felt the fear, told God about it, reminded his soul of the truth, and rested in the arms of a God who never let him go.
Your anxiety does not disqualify you from God’s love — it qualifies you for His comfort. Tonight, do what David did: cry out honestly, preach hope to your own heart, cast your cares on Him, and lie down in peace.
The same God who sustained David through coups, caves, and crushing grief is with you now. He is your shield, the lifter of your head — and He will not let you go.



