The Ammonites formed a battle line at the entrance of the city, while the Arameans from Zobah and Rehob and the kings who had come remained by themselves in the open country.
The men who had captured the city also came out and attacked them. The men of Ai were caught between the battle lines of Israel. So Israel attacked them on both sides. None of them survived or escaped.