And the Lord said to Joshua, Do not fear nor be fainthearted; take with you all the fighting men, and arise, go up to Ai; behold, I have given into your hands the king of Ai and his land.
And you shall do to Ai as you did to Jericho and its king; and the spoil of the livestock you shall plunder for yourself. But set an ambush for yourself against the city behind it.
And I and all who are with me will draw near to the city, and it will be when the inhabitants of Ai come out to meet us, just as before, then we will flee from before them.
And it came to pass, as the king of Ai saw it, he hurried and went out to meet them straightway for battle, he and all the people who were with him, and he did not know that there was an ambush for him behind the city.
And the Lord said to Joshua, Stretch out your hand with the javelin that is in your hand toward the city, for into your hands I have given it, and the ambush shall rise up quickly from their place. And Joshua stretched out his hand, the javelin, toward the city
And the ambush arose quickly from their place and went out when he extended his hand, and they came against the city and captured it and, having hurried, burned the city with fire
And the inhabitants of Ai looked around behind them, and they were beholding smoke rising up from the city to heaven, and they no longer had where they might flee, here or there.
And Joshua and all Israel saw that the ambush had taken the city and that the smoke of the city had gone up to heaven, and turning back they struck the men of Ai
And these went out from the city to meet, and they became in the midst of the camp, these on this side and these on that side, and they struck until there was not left of them one having escaped and having fled away safely.
And when the sons of Israel had ceased killing all those in Ai, those in the plains and in the mountain, at the descent where they pursued them from it, until an end, Joshua returned to Ai and struck it with the edge of the sword.
Only the livestock and the dogs in the city, all that the sons of Israel plundered, according to the command of the Lord, just as the Lord commanded Joshua.
And he hanged the king of Ai on a double tree, and he was on the tree until evening, and at the setting of the sun Joshua gave orders, and they took down his body from the tree and threw him into the pit, and they set over him a heap of stones until this day