Biblical fasting guide
Biblical Fasting7 days2 Samuel 12:16–22 (ESV)

David's Fast for His Sick Child

When the child born to David and Bathsheba fell mortally ill, David fasted and lay on the ground for seven days, pleading with God for the boy's life. His fast is Scripture's most raw picture of fasting as the body's language of earnest, heart-deep prayer.

When the child born to David and Bathsheba fell mortally ill, David fasted and lay on the ground for seven days, pleading with God for the boy's life. His fast, recorded in 2 Samuel 12:16–22 (ESV), is Scripture's most raw picture of fasting as the body's language of earnest, heart-deep prayer.

The fast

David's fast happened in the aftermath of his sin with Bathsheba. He had taken another man's wife, arranged for her husband's death, and married her. The prophet Nathan had confronted him with a parable that trapped him in his own judgment, and David had confessed: "I have sinned against the Lord" (2 Samuel 12:13, ESV).

God forgave David — but there were consequences. The child born to Bathsheba became ill. Nathan had prophesied it: "The Lord also has put away your sin; you shall not die. Nevertheless, because by this deed you have utterly scorned the Lord, the child who is born to you shall die" (2 Samuel 12:13–14, ESV).

And so the fast began:

David therefore sought God on behalf of the child. And David fasted and went in and lay all night on the ground.

2 Samuel 12:16 (ESV)

For seven days, David fasted. He lay on the ground. The elders of his house tried to raise him, and he refused. He would not eat. The text doesn't tell us how he prayed in words — only what his body did. The fast was the prayer.

The context

This fast is unique among the fasts of Scripture. It's not a fast of devotion like Daniel's, not a fast of intercession for a nation like Esther's, not a fast of preparation like Jesus'. It's the fast of a father desperate for the life of his child — and desperate, perhaps, for some mitigation of the consequences of his own sin.

David had been told the child would die. But he fasted anyway. He hoped, against the prophetic word, that God might relent. He said as much afterward: "While the child was still alive, I fasted and wept, for I said, 'Who knows whether the Lord will be gracious to me, that the child may live?'" (2 Samuel 12:22, ESV).

This is the fasting of someone who knows the situation is desperate and yet cannot stop asking. It is the fasting of stubborn, hopeful, grief-stricken love.

The outcome

On the seventh day, the child died. David's servants were afraid to tell him, fearing how he would respond — he had refused to listen to them while the child was alive. But when David perceived what had happened, he did something they didn't expect:

He rose from the ground, washed, anointed himself, changed his clothes, went into the house of the Lord, and worshiped. Then he came home and asked for food, and ate (2 Samuel 12:20, ESV).

His servants were baffled. Why fast and weep while the child was alive, and rise to eat once the child was dead? David's answer is one of the most quietly faithful lines in Scripture:

"While the child was still alive, I fasted and wept, for I said, 'Who knows whether the Lord will be gracious to me, that the child may live?' But now he is dead. Why should I fast? Can I bring him back again? I shall go to him, but he will not return to me."

2 Samuel 12:22–23 (ESV)

David's fasting was for the time of asking. Once the answer came — not the answer he wanted — he stopped asking, rose, washed, and worshiped. And then he ate. The fast was over. The hope of reunion remained: "I shall go to him, but he will not return to me." That is faith in the aftermath of grief.

The takeaway

David's fast teaches us three profound things about fasting. First, fasting is the body's prayer when words run out. Sometimes the deepest intercession cannot be spoken; it can only be embodied. Second, fasting is appropriate in the time of asking — and there is a time to stop fasting, when the answer has come. Third, fasting doesn't guarantee the outcome we want, but it positions our hearts to receive whatever God gives with faith.

It also teaches us that God receives our fasting even when our situation is the fruit of our own sin. David's sin was grievous. His fast was nonetheless heard — not in the way he hoped, but in the deeper way of a heart restored to worship.

Application today

David's fast is a model for the most painful moments of life — when a child is sick, when a marriage is in crisis, when the consequences of our own sin have caught up with us.

  • When you don't have words, let your body pray. A day of fasting, with weeping and quietness before God, can be the most honest prayer you'll ever offer.
  • Don't be afraid to fast in hope, even when the situation looks hopeless. "Who knows whether the Lord will be gracious?" is biblical hope.
  • When the answer comes — even when it's not the answer you wanted — there is a time to stop fasting, to rise, to wash, and to worship. Trust God with what you cannot change.
  • Let fasting be honest. David didn't perform his fast for the elders; he lay on the ground and refused to be comforted. The fast was between him and God.
  • Cling to the hope of reunion and resurrection. "I shall go to him" is the quiet faith that the story isn't over.

David's fast reminds us that fasting is not always victorious or triumphant. Sometimes it is the prayer of a broken heart, asking for mercy it knows it may not receive. And God receives that fast too.

Want to try fasting for yourself?

Take the free 60-second quiz to find a protocol that fits your life — or request a free consultation with our family.

Scripture quotations are from the ESV® Bible (The Holy Bible, English Standard Version®), copyright © 2001 by Crossway, a publishing ministry of Good News Publishers. Used by permission. All rights reserved.