2 Samuel 12:19-24

19 But when David saw that his servants were whispering together, David perceived that the child was dead; and David said to his servants, Is the child dead? They said, He is dead.  20 Then David arose from the earth, and washed, and anointed himself, and changed his clothing; and he came into the house of Yahweh, and worshiped: then he came to his own house; and when he required, they set bread before him, and he ate.  21 Then said his servants to him, What thing is this that you have done? you did fast and weep for the child, while it was alive; but when the child was dead, you did rise and eat bread.  22 He said, While the child was yet alive, I fasted and wept: for I said, Who knows whether Yahweh will not be gracious to me, that the child may live?  23 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.  24 David comforted Bathsheba his wife, and went in to her, and lay with her: and she bore a son, and he called his name Solomon. Yahweh loved him;