21 When Joshua and all Israel saw that the ambush had captured the city and that the smoke of the city rose up, they turned back and struck down the men of Ai.
22 The others also came out of the city against them, so they were surrounded by Israel, some on this side and some on that side. They struck them down until not one survivor or fugitive was left.
23 But they captured the king of Ai alive and brought him to Joshua.
24 After Israel had finished killing all the inhabitants of Ai in the field in the wilderness where they pursued them, and all of them were fallen by the edge of the sword until they were consumed, all Israel returned to Ai and struck it with the edge of the sword.
25 All who fell that day, both men and women, were 12,000—all the people of Ai.
26 For Joshua did not draw back his hand with which he stretched out the javelin, until he had utterly destroyed all the inhabitants of Ai.
27 Only the cattle and the spoil of that city Israel took as their plunder, according to the word of Adonai which He had commanded Joshua.