"If the Arameans are too strong for me," Joab said, "then you will be my help. However, if the Ammonites are too strong for you, I'll come to help you.
When the Ammonites saw that the Arameans had fled, they too fled before Abishai and entered the city. So Joab withdrew from the attack against the Ammonites and went to Jerusalem.
Joab fought against Rabbah of the Ammonites and captured the royal fortress.
Then Joab sent messengers to David to say, "I have fought against Rabbah and have also captured the water supply.
Now therefore, assemble the rest of the troops, lay siege to the city, and capture it. Otherwise I will be the one to capture the city, and it will be named after me.
So David assembled all the troops and went to Rabbah; he fought against it and captured it.
He took the crown from the head of their king, and it was [placed] on David's head. The crown weighed 75 pounds of gold, and it had a precious stone [in it]. In addition, David took away a large quantity of plunder from the city.
He removed the people who were in the city and put [them to work] with saws, iron picks, and iron axes, and to labor at brickmaking. He did the same to all the Ammonite cities. Then he and all his troops returned to Jerusalem.
King David also dedicated these to the LORD, along with the silver and gold he had carried off from all the nations-- from Edom, Moab, the Ammonites, the Philistines, and the Amalekites.