Joshua is with a group of soldiers that approach the city from the front so the men of Ai, thinking they will have another easy victory, chase Joshua and the fighting men from the entrance of the city to lead the men of Ai away from the city. Then the fighting men to the rear enter the city and set it on fire. When the city is captured, 12,000 men and women are killed, and it is razed to the ground.