2 Samuel 12:13-25 - David Repents, But The Child Dies

13 David said to Nathan, “I have sinned against the Lord.” And Nathan said to David, “The Lord also has allowed your sin to pass [without further punishment]; you shall not die. 14 Nevertheless, because by this deed you have given [a great] opportunity to the enemies of the Lord to blaspheme [Him], the son that is born to you shall certainly die.” 15 Then Nathan went [back] to his home.And the Lord struck the child that Uriah’s widow bore to David, and he was very sick. 16 David therefore appealed to God for the child [to be healed]; and David fasted and went in and lay all night on the ground. 17 The elders of his household stood by him [in the night] to lift him up from the ground, but he was unwilling [to get up] and would not eat food with them.

18 Then it happened on the seventh day that the child died. David’s servants were afraid to tell him that the child was dead, for they said, “While the child was still alive, we spoke to him and he would not listen to our voices. How then can we tell him the child is dead, since he might harm himself [or us]?”

19 But when David saw that his servants were whispering to one another, he realized that the child was dead. So David said to them, “Is the child dead?” And they said, “He is dead.”

20 Then David got up from the ground, washed, anointed himself [with olive oil], changed his clothes, and went into the house of the Lord and worshiped. Then he came [back] to his own house, and when he asked, they set food before him and he ate.

21 Then his servants said to him, “What is this thing that you have done? While the child was alive you fasted and wept, but when the child died, you got up and ate food.”

22 David said, “While the child was still alive, I fasted and wept; for I thought, ‘Who knows, the Lord may be gracious to me and the child may live.’ 23 But now he is dead; why should I [continue to] fast? Can I bring him back again? I will go to him [when I die], but he will not return to me.”

24 David comforted his wife Bathsheba, and went to her and lay with her; and she gave birth to a son, and David named him Solomon. And the Lord loved the child; 25 and He sent word through Nathan the prophet, and he named him Jedidiah (beloved of the Lord) for the sake of the Lord [who loved the child].