2 Samuel 12:17-31
12:17 The elders of his house stood over him and tried to lift him from the ground, but he was unwilling, and refused to eat food with them.
12:18 On the seventh day the child died. But the servants of David were afraid to inform him that the child had died, for they said, “While the child was still alive he would not listen to us when we spoke to him. How can we tell him that the child is dead? He will do himself harm!”
12:19 When David saw that his servants were whispering to one another, he realized that the child was dead. So David asked his servants, “Is the child dead?” They replied, “Yes, he’s dead.”
12:20 So David got up from the ground, bathed, put on oil, and changed his clothes. He went to the house of the Lord and worshiped. Then, when he entered his palace, he requested that food be brought to him, and he ate.
12:21 His servants said to him, “What is this that you have done? While the child was still alive, you fasted and wept. Once the child was dead you got up and ate food!”
12:22 He replied, “While the child was still alive, I fasted and wept because I thought, ‘Perhaps the Lord will show pity and the child will live.
12:23 But now he is dead. Why should I fast? Am I able to bring him back? I will go to him, but he cannot return to me!’”
12:24 So David comforted his wife Bathsheba. He went to her and had marital relations with her. She gave birth to a son, and David named him Solomon. Now the Lord loved the child
12:25 and sent word through Nathan the prophet that he should be named Jedidiah for the Lord’s sake.
David’s Forces Defeat the Ammonites
12:26 So Joab fought against Rabbah of the Ammonites and captured the royal city.
12:27 Joab then sent messengers to David, saying, “I have fought against Rabbah and have captured the water supply of the city.
12:28 So now assemble the rest of the army and besiege the city and capture it. Otherwise I will capture the city and it will be named for me.”
12:29 So David assembled all the army and went to Rabbah and fought against it and captured it.
12:30 He took the crown of their king from his head – it was gold, weighed about seventy-five pounds, and held a precious stone – and it was placed on David’s head. He also took from the city a great deal of plunder.
12:31 He removed the people who were in it and made them do hard labor with saws, iron picks, and iron axes, putting them to work at the brick kiln. This was his policy with all the Ammonite cities. Then David and all the army returned to Jerusalem.