1 Chronicles 20:1-4

20:1 In the spring, at the time when kings normally conduct wars, Joab led the army into battle and devastated the land of the Ammonites. He went and besieged Rabbah, while David stayed in Jerusalem. Joab defeated Rabbah and tore it down. 20:2 David took the crown from the head of their king and wore it (its weight was a talent of gold and it was set with precious stones). He took a large amount of plunder from the city. 20:3 He removed the city’s residents and made them do hard labor with saws, iron picks, and axes. This was his policy with all the Ammonite cities. Then David and all the army returned to Jerusalem.

Battles with the Philistines

20:4 Later there was a battle with the Philistines in Gezer. At that time Sibbekai the Hushathite killed Sippai, one of the descendants of the Rephaim, and the Philistines were subdued.