Now Joab fought against Rabbah of the sons of Ammon and captured the royal city.