The Ammonites realized that they had made themselves offensive to David. So they hired the Arameans from Beth Rehob and Zobah (20,000 foot soldiers), ⌞the army of⌟ the king of Maacah (1,000 men), and the men of Tob (12,000 men).
The Ammonites formed a battle line at the entrance of the ⌞city⌟ gate, while the Arameans from Zobah and Rehob and the men from Tob and Maacah remained by themselves in the open country.