22 When other Israelites came out of the city to confront them, the men of Ai were caught in the middle. Some Israelites were on one side of them and some on the other. The Israelites struck them down until there was no one left to escape.
23 But they seized the king of Ai alive and brought him to Joshua.
24 Israel finished killing the entire population of Ai that had chased them out into the open wasteland. All of them were finished off without mercy. Then all Israel went back to Ai and struck it down without mercy.
25 Twelve thousand men and women died that day, all the people of Ai.
26 Joshua didn’t pull back the hand that was stretched out holding a dagger until he had wiped out the whole population of Ai as something reserved for God.
27 However, Israel did take the cattle and other booty of that city as plunder for themselves, in agreement with the command that the Lord had given Joshua.
28 Then Joshua burned Ai. He made it a permanently deserted mound. That is still the case today.