21 Joshua and all his men saw that the army had taken control of the city. They saw the smoke rising from it. So they stopped running and turned to fight the men of Ai.
22 The men who were in ambush also came out of the city to help with the fight. The men of Ai were caught between the armies of Israel. The Israelites fought until not one of the men of Ai was left alive. None of the enemy escaped.
23 But the king of Ai was left alive. And Joshua’s men brought him to Joshua.
24 During the fighting the army of Israel chased the men of Ai into the fields and desert. So the Israelites killed all of them in the fields and desert. Then they went back to Ai and killed everyone there.
25 All the people of Ai died that day, 12,000 men and women.
26 Joshua had held his spear toward Ai. It was a sign to his people to destroy the city. And Joshua held out his spear until all the people of Ai were destroyed.
27 The people of Israel kept the animals for themselves. They also kept the other things the people of Ai had owned. This is what the Lord told them to do when he gave Joshua the commands.