15-17Joshua and all Israel let themselves be chased; they ran toward the wilderness. Everybody in the city was called to the chase. They pursued Joshua and were led away from the city. There wasn't a soul left in Ai or Bethel who wasn't out there chasing after Israel. The city was left empty and undefended as they were chasing Israel down.
18-19Then God spoke to Joshua: "Stretch out the javelin in your hand toward Ai—I'm giving it to you." Joshua stretched out the javelin in his hand toward Ai. At the signal the men in ambush sprang to their feet, ran to the city, took it, and quickly had it up in flames.