2 Samuel 12:24 NLT

24 Then David comforted Bathsheba, his wife, and slept with her. She became pregnant and gave birth to a son, and they named him Solomon. The LORD loved the child