21 And when Joshua and all Israel saw that the ambush had captured the city, and that the smoke of the city went up, then they turned back and struck down the men of Ai.
22 And the others came out from the city against them, so they were in the midst of Israel, some on this side, and some on that side. And Israel struck them down, until there was left none that survived or escaped.
23 But the king of Ai they took alive, and brought him near to Joshua.
24 When Israel had finished killing all the inhabitants of Ai in the open wilderness where they pursued them, and all of them to the very last had fallen by the edge of the sword, all Israel returned to Ai and struck it down with the edge of the sword.
25 And all who fell that day, both men and women, were 12,000, all the people of Ai.
26 But Joshua did not draw back his hand with which he stretched out the javelin until he had devoted all the inhabitants of Ai to destruction.
27 Only the livestock and the spoil of that city Israel took as their plunder, according to the word of the Lord that he commanded Joshua.