Now Joab fought against Rabbah, a city of the Ammonites. And he was about to capture the royal city.