2 Samuel 12:22-28
English Standard Version
Chapter 12
22He said, "While the child was still alive, I fasted and wept, for I said, ‘Who knows whether the Lord will be gracious to me, that the child may live?’ 23But 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."
24Then David comforted his wife, Bathsheba, and went in to her and lay with her, and she bore a son, and he called his name Solomon. And the Lord loved him
25and sent a message by Nathan the prophet. So he called his name Jedidiah, because of the Lord.
26Now Joab fought against Rabbah of the Ammonites and took the royal city.
27And Joab sent messengers to David and said, "I have fought against Rabbah; moreover, I have taken the city of waters.
28Now then gather the rest of the people together and encamp against the city and take it, lest I take the city and it be called by my name."