Meanwhile Joab continued his campaign against Rabbah, the capital city of Ammon, and was about to capture it.