The [men in] ambush emerged quickly from their [hiding] place, and when Joshua stretched out his hand they ran and entered the city and captured it, and quickly set the city on fire.
Then the Lord said to Joshua, “Reach out with the spear that is in your hand [and point it] toward Ai, for I will give it into your hand.” So Joshua reached out with the spear in his hand [and pointed it] toward the city.
You shall do [the same] to Ai and its king as you did to Jericho and its king; [except that] you shall take only its spoil and its cattle as plunder for yourselves. Set up an ambush for the city behind it [on the west side].”
When the men of Ai turned back and looked, behold, the smoke of the city was ascending toward the sky, and they had no opportunity to run this way or that way. Then the people who had been running to the wilderness turned back toward the pursuers.
Then all the men of Israel got up from their places and placed themselves in battle formation at Baal-tamar; and the men of Israel [who were] in ambush rushed from their place in the plain of Maareh-geba.