2 Samuel 12:24-27 New International Version Anglicized (NIVUK)

24. Then David comforted his wife Bathsheba, and he went to her and made love to her. She gave birth to a son, and they named him Solomon. The Lord loved him;

25. and because the Lord loved him, he sent word through Nathan the prophet to name him Jedidiah.

26. Meanwhile Joab fought against Rabbah of the Ammonites and captured the royal citadel.

27. Joab then sent messengers to David, saying, ‘I have fought against Rabbah and taken its water supply.

2 Samuel 12