22 Then the others from the city came out to meet them, and they found themselves surrounded by Israel, some on one side, and others on the other side. And they struck them down until no survivor or fugitive was left.
23 But they captured the king of Ai alive, and they brought him to Joshua.
24 When Israel finished slaughtering all the inhabitants of Ai in the open field, in the wilderness where they pursued them, and when all of them had fallen by the edge of the sword until they all had perished, all Israel returned to Ai and attacked it with the edge of the sword.
25 All the people that fell on that day, both men and women, were twelve thousand—all the inhabitants of Ai.
26 For Joshua did not draw back his hand that was stretched out with the sword until he had utterly destroyed all the inhabitants of Ai.
27 Only the livestock and the spoil of that city Israel took as booty for themselves, according to the word of Yahweh that Joshua commanded.
28 So Joshua burned Ai and made it an everlasting heap of rubbish, a desolate place until this day.