Ammon and Zobah
The Bible gives much more detail to Israel's war with Ammon (see 2 Sam 10). The Bible records David's kindness to Hanun, a new king of Ammon, and his kindness was scorned and David sent Joab out for war. Hanun hired mercenary soldiers from Aram (Beth-rehob, Zobah, and Maacah). When Joab met the combined armies he displayed outstanding military foresight and defeated them. He then returned to Jerusalem and Hadadezer, king of Zobah came against him with fresh troops. Israel met him across the Jordan at Helam and were victorious. Israelite supremacy was acknowledged once again.
Joab then laid siege to Rabbah (site of the present day Amman Jordan) 22 miles east of the Jordan River to utterly defeat Ammon. It was during this siege that David sinned with Bathsheba, and had her husband Uriah killed by ordering Joab to place him at the front of the battle, where the fighting was the heaviest. (2 Sam 11:1-27). Rabbah was finally taken and David made it a part of his own kingdom.