2 Samuel 12:26-31
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.
28 Now muster the rest of the troops and besiege the city and capture it. Otherwise I will take the city, and it will be named after me.”
29 So David mustered the entire army and went to Rabbah, and attacked and captured it.
30 He took the crown from the head of their king—its weight was a talent of gold, and it was set with precious stones—and it was placed on David’s head. He took a great quantity of plunder from the city
31 and brought out the people who were there, consigning them to labor with saws and with iron picks and axes, and he made them work at brickmaking. He did this to all the Ammonite towns. Then David and his entire army returned to Jerusalem.