2 Samuel 12:23-25

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.