Joshua 8:18-22

MLV(i) 18 And Jehovah said to Joshua, Stretch out the javelin that is in your hand toward Ai, for I will give it into your hand. And Joshua stretched out the javelin that was in his hand toward the city. 19 And the ambush arose quickly out of their place and they ran as soon as he had stretched out his hand and entered into the city and took it. And they hastened and set the city on fire.
20 And when the men of Ai looked behind them, they saw, and behold, the smoke of the city ascended up to heaven and they had no power to flee this way or that way. And the people who fled to the wilderness turned back upon the pursuers.
21 And when Joshua and all Israel saw that the ambush had taken the city and that the smoke of the city ascended, then they turned again and killed the men of Ai. 22 And the others came forth out of the city against them, so they were in the midst of Israel, some on this side and some on that side. And they killed* them so that they let none of them remain or escape.