Then the men in
ambush rose quickly from their place, and when he had reached out with his hand, they ran and entered the city and captured it, and they quickly set the city on fire.
When the men of Ai turned back and looked, behold, the smoke of the city ascended to the sky, and they had no place to flee this way or that, for the people who had been fleeing to the wilderness turned against the pursuers.
When Joshua and all Israel saw that the men in
ambush had captured the city and that the smoke of the city ascended, they turned back and killed the men of Ai.
The others came out from the city to confront them, so that they were trapped
in the midst of Israel, some on this side and some on that side; and they killed them until there was not one left who escaped or survived.
But they captured the king of Ai alive and brought him to Joshua.
Now when Israel had finished killing all the inhabitants of Ai in the field in the wilderness where they pursued them, and all of them had fallen by the edge of the sword until they were destroyed, then all Israel returned to Ai and struck it with the edge of the sword.
So all who fell that day, both men and women, were twelve thousand—all the people of Ai.