Then Nathan went home. The LORD struck the child that Uriah's wife had borne for David, and he became very sick.
David begged God for the boy. He fasted and spent the night sleeping on the ground.
The senior servants of his house approached him to lift him up off the ground, but he refused, and he wouldn't eat with them either.
On the seventh day, the child died. David's servants were afraid to tell him that the child had died. "David wouldn't listen to us when we talked to him while the child was still alive," they said. "How can we tell him the child has died? He'll do something terrible!"
But when David saw his servants whispering, he realized the child had died. "Is the child dead?" David asked his servants. "Yes," they said, "he is dead."
Then David rose from the ground, bathed, anointed himself, and changed his clothes. He entered the LORD's house and bowed down. Then he entered his own house. He requested food, which was brought to him, and he ate.
"Why are you acting this way?" his servants asked. "When the child was alive, you fasted and cried and kept watch, but now that the child is dead, you get up and eat food!"
David replied, "While the child was alive I fasted and wept because I thought, Who knows? The LORD may have mercy on me and let the child live.
But he is dead now. Why should I fast? Can I bring him back again? No. I am going where he is, but he won't come back to me."
Then David comforted his wife Bathsheba. He went to her and had sex with her. She gave birth to a son and named him Solomon. The LORD loved him
and sent word by the prophet Nathan to name him Jedidiah because of the LORD's grace.