24. Then David comforted Bathsheba, his wife, and slept with her. She became pregnant and gave birth to a son, and David named him Solomon. The lord loved the child
25. and sent word through Nathan the prophet that they should name him Jedidiah (which means “beloved of the lord”), as the lord had commanded.
26. Meanwhile, Joab was fighting against Rabbah, the capital of Ammon, and he captured the royal fortifications.
27. Joab sent messengers to tell David, “I have fought against Rabbah and captured its water supply.