2 Samuel 10:2-3

10:2 David said, “I will express my loyalty to Hanun son of Nahash just as his father was loyal to me.” So David sent his servants with a message expressing sympathy over his father’s death. When David’s servants entered the land of the Ammonites, 10:3 the Ammonite officials said to their lord Hanun, “Do you really think David is trying to honor your father by sending these messengers to express his sympathy? No, David has sent his servants to you to get information about the city and spy on it so they can overthrow it!”

2 Samuel 10:19--11:1

10:19 When all the kings who were subject to Hadadezer saw they were defeated by Israel, they made peace with Israel and became subjects of Israel. The Arameans were no longer willing to help the Ammonites.

David Commits Adultery with Bathsheba

11:1 In the spring of the year, at the time when kings normally conduct wars, David sent out Joab with his officers and the entire Israelite army. They defeated the Ammonites and besieged Rabbah. But David stayed behind in Jerusalem.

2 Samuel 12:9

12:9 Why have you shown contempt for the word of the Lord by doing evil in my sight? You have struck down Uriah the Hittite with the sword and you have taken his wife as your own! You have killed him with the sword of the Ammonites.

2 Samuel 12:31

12:31 He removed the people who were in it and made them do hard labor with saws, iron picks, and iron axes, putting them to work at the brick kiln. This was his policy with all the Ammonite cities. Then David and all the army returned to Jerusalem.