14
Now it happened, when the king of Ai saw it, that the men of the city hurried and rose early and went out against Israel to battle, he and all his people, at an appointed place before the plain. But he did not know that there was an ambush against him behind the city.
15
And Joshua and all Israel made as if they were beaten before them, and fled by the way of the wilderness.
16
So all the people who were in Ai were called together to pursue them. And they pursued Joshua and were drawn away from the city.
17
There was not a man left in Ai or Bethel who did not go out after Israel. So they left the city open and pursued Israel.
18
Then the Lord said to Joshua, "Stretch out the spear that is in your hand toward Ai, for I will give it into your hand." And Joshua stretched out the spear that was in his hand toward the city.
19
So those in ambush arose quickly out of their place; they ran as soon as he had stretched out his hand, and they entered the city and took it, and hurried to 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 to heaven. So they had no power to flee this way or that way, and the people who had fled to the wilderness turned back on the pursuers.
21
Now when Joshua and all Israel saw that the ambush had taken the city and that the smoke of the city ascended, they turned back and struck down the men of Ai.
22
Then the others came out of the city against them; so they were caught in the midst of Israel, some on this side and some on that side. And they struck them down, so that they let none of them remain or escape.
23
But the king of Ai they took alive, and brought him to Joshua.
24
And it came to pass when Israel had made an end of slaying all the inhabitants of Ai in the field, in the wilderness where they pursued them, and when they all had fallen by the edge of the sword until they were consumed, that all the Israelites returned to Ai and struck it with the edge of the sword.