2 Samuel 10:6-9

10:6 When the Ammonites realized that David was disgusted with them, they sent and hired 20,000 foot soldiers from Aram Beth Rehob and Aram Zobah, in addition to 1,000 men from the king of Maacah and 12,000 men from Ish-tob.

10:7 When David heard the news, he sent Joab and the entire army to meet them. 10:8 The Ammonites marched out and were deployed for battle at the entrance of the city gate, while the men from Aram Zobah, Rehob, Ish-tob, and Maacah were by themselves in the field.

10:9 When Joab saw that the battle would be fought on two fronts, he chose some of Israel’s best men and deployed them against the Arameans.