# Joshua 8 
<a id="1" name="1"></a>
1. And the LORD said to Joshua, “Do not fear and do not be dismayed. Take all the fighting men with you, and arise, go up to Ai. See, I have given into your hand the king of Ai, and his people, his city, and his land.
<a id="2" name="2"></a>
2. And you shall do to Ai and its king as you did to Jericho and its king. Only its spoil and its livestock you shall take as plunder for yourselves. Lay an ambush against the city, behind it.” 
<a id="3" name="3"></a>
3. So Joshua and all the fighting men arose to go up to Ai. And Joshua chose 30,000 mighty men of valor and sent them out by night.
<a id="4" name="4"></a>
4. And he commanded them, “Behold, you shall lie in ambush against the city, behind it. Do not go very far from the city, but all of you remain ready.
<a id="5" name="5"></a>
5. And I and all the people who are with me will approach the city. And when they come out against us just as before, we shall flee before them.
<a id="6" name="6"></a>
6. And they will come out after us, until we have drawn them away from the city. For they will say, ‘They are fleeing from us, just as before.’ So we will flee before them.
<a id="7" name="7"></a>
7. Then you shall rise up from the ambush and seize the city, for the LORD your God will give it into your hand.
<a id="8" name="8"></a>
8. And as soon as you have taken the city, you shall set the city on fire. You shall do according to the word of the LORD. See, I have commanded you.”
<a id="9" name="9"></a>
9. So Joshua sent them out. And they went to the place of ambush and lay between Bethel and Ai, to the west of Ai, but Joshua spent that night among the people. 
<a id="10" name="10"></a>
10. Joshua arose early in the morning and mustered the people and went up, he and the elders of Israel, before the people to Ai.
<a id="11" name="11"></a>
11. And all the fighting men who were with him went up and drew near before the city and encamped on the north side of Ai, with a ravine between them and Ai.
<a id="12" name="12"></a>
12. He took about 5,000 men and set them in ambush between Bethel and Ai, to the west of the city.
<a id="13" name="13"></a>
13. So they stationed the forces, the main encampment that was north of the city and its rear guard west of the city. But Joshua spent that night in the valley.
<a id="14" name="14"></a>
14. And as soon as the king of Ai saw this, he and all his people, the men of the city, hurried and went out early to the appointed place toward the Arabah to meet Israel in battle. But he did not know that there was an ambush against him behind the city.
<a id="15" name="15"></a>
15. And Joshua and all Israel pretended to be beaten before them and fled in the direction of the wilderness.
<a id="16" name="16"></a>
16. So all the people who were in the city were called together to pursue them, and as they pursued Joshua they were drawn away from the city.
<a id="17" name="17"></a>
17. Not a man was left in Ai or Bethel who did not go out after Israel. They left the city open and pursued Israel. 
<a id="18" name="18"></a>
18. Then the LORD 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.
<a id="19" name="19"></a>
19. And the men in the ambush rose quickly out of their place, and as soon as he had stretched out his hand, they ran and entered the city and captured it. And they hurried to set the city on fire.
<a id="20" name="20"></a>
20. So when the men of Ai looked back, behold, the smoke of the city went up to heaven, and they had no power to flee this way or that, for the people who fled to the wilderness turned back against the pursuers.
<a id="21" name="21"></a>
21. And when Joshua and all Israel saw that the ambush had captured the city, and that the smoke of the city went up, then they turned back and struck down the men of Ai.
<a id="22" name="22"></a>
22. And the others came out from the city against them, so they were in the midst of Israel, some on this side, and some on that side. And Israel struck them down, until there was left none that survived or escaped.
<a id="23" name="23"></a>
23. But the king of Ai they took alive, and brought him near to Joshua. 
<a id="24" name="24"></a>
24. When Israel had finished killing all the inhabitants of Ai in the open wilderness where they pursued them, and all of them to the very last had fallen by the edge of the sword, all Israel returned to Ai and struck it down with the edge of the sword.
<a id="25" name="25"></a>
25. And all who fell that day, both men and women, were 12,000, all the people of Ai.
<a id="26" name="26"></a>
26. But Joshua did not draw back his hand with which he stretched out the javelin until he had devoted all the inhabitants of Ai to destruction.
<a id="27" name="27"></a>
27. Only the livestock and the spoil of that city Israel took as their plunder, according to the word of the LORD that he commanded Joshua.
<a id="28" name="28"></a>
28. So Joshua burned Ai and made it forever a heap of ruins, as it is to this day.
<a id="29" name="29"></a>
29. And he hanged the king of Ai on a tree until evening. And at sunset Joshua commanded, and they took his body down from the tree and threw it at the entrance of the gate of the city and raised over it a great heap of stones, which stands there to this day. 
<a id="30" name="30"></a>
30. At that time Joshua built an altar to the LORD, the God of Israel, on Mount Ebal,
<a id="31" name="31"></a>
31. just as Moses the servant of the LORD had commanded the people of Israel, as it is written in the Book of the Law of Moses, “an altar of uncut stones, upon which no man has wielded an iron tool.” And they offered on it burnt offerings to the LORD and sacrificed peace offerings.
<a id="32" name="32"></a>
32. And there, in the presence of the people of Israel, he wrote on the stones a copy of the law of Moses, which he had written.
<a id="33" name="33"></a>
33. And all Israel, sojourner as well as native born, with their elders and officers and their judges, stood on opposite sides of the ark before the Levitical priests who carried the ark of the covenant of the LORD, half of them in front of Mount Gerizim and half of them in front of Mount Ebal, just as Moses the servant of the LORD had commanded at the first, to bless the people of Israel.
<a id="34" name="34"></a>
34. And afterward he read all the words of the law, the blessing and the curse, according to all that is written in the Book of the Law.
<a id="35" name="35"></a>
35. There was not a word of all that Moses commanded that Joshua did not read before all the assembly of Israel, and the women, and the little ones, and the sojourners who lived among them. 

(ESV)