David noticed that his attendants were whispering among themselves, and he realized the child was dead. “Is the child dead?” he asked. “Yes,” they replied, “he is dead.”
Then David got up from the ground. After he had washed, put on lotions and changed his clothes, he went into the house of the LORD and worshiped. Then he went to his own house, and at his request they served him food, and he ate.
References for 2 Samuel 12:20
His attendants asked him, “Why are you acting this way? While the child was alive, you fasted and wept, but now that the child is dead, you get up and eat!”
References for 2 Samuel 12:21
He answered, “While the child was still alive, I fasted and wept. I thought, ‘Who knows? The LORD may be gracious to me and let the child live.’
References for 2 Samuel 12:22
But now that he is dead, why should I go on fasting? Can I bring him back again? I will go to him, but he will not return to me.”
References for 2 Samuel 12:23
Then David comforted his wife Bathsheba, and he went to her and made love to her. She gave birth to a son, and they named him Solomon. The LORD loved him;
References for 2 Samuel 12:24
and because the LORD loved him, he sent word through Nathan the prophet to name him Jedidiah.
References for 2 Samuel 12:25
Meanwhile Joab fought against Rabbah of the Ammonites and captured the royal citadel.
References for 2 Samuel 12:26
Joab then sent messengers to David, saying, “I have fought against Rabbah and taken its water supply.
Now muster the rest of the troops and besiege the city and capture it. Otherwise I will take the city, and it will be named after me.”
So David mustered the entire army and went to Rabbah, and attacked and captured it.