2 Samuel 12:24

24 And David comforted Bathsheba his wife, and went in unto her, and lay with her: and she bare a son, and he called his name Solomon: and the LORD loved him.

2 Samuel 12:24 In-Context

22 And he said, While the child was yet alive, I fasted and wept: for I said, Who can tell whether GOD will be gracious to me, that the child may live?
23 But now he is dead, wherefore should I fast? can I bring him back again? I shall go to him, but he shall not return to me.
24 And David comforted Bathsheba his wife, and went in unto her, and lay with her: and she bare a son, and he called his name Solomon: and the LORD loved him.
25 And he sent by the hand of Nathan the prophet; and he called his name Jedidiah, because of the LORD.
26 And Joab fought against Rabbah of the children of Ammon, and took the royal city.
The King James Version is in the public domain.