8
The Conquest of Ai
Then the LORD said to Joshua, “Do not be afraid or discouraged. Take the whole army with you, and go up and attack Ai. See, I have delivered into your hand the king of Ai, his people, his city, and his land. And you shall do to Ai and its king as you did to Jericho and its king, except that you may carry off their plunder and livestock for yourselves. Set up an ambush behind the city.”
 
So Joshua and the whole army set out to attack Ai. Joshua chose 30,000 mighty men of valor and sent them out at night with these orders: “Pay attention. You are to lie in ambush behind the city, not too far from it. All of you must be ready. Then I and all the troops with me will advance on the city. When they come out against us as they did the first time, we will flee from them. They will pursue us until we have drawn them away from the city, for they will say, ‘The Israelites are running away from us as they did before.’ So as we flee from them, you are to rise from the ambush and seize the city, for the LORD your God will deliver it into your hand. And when you have taken the city, set it on fire. Do as the LORD has commanded! See, I have given you orders.”
 
So Joshua sent them out, and they went to the place of ambush and lay in wait between Bethel and Ai, to the west of Ai. But Joshua spent that night among the people.
 
10 Joshua got up early the next morning and mobilized his men, and he and the elders of Israel marched before them up to Ai. 11 Then all the troops who were with him marched up and approached the city. They arrived in front of Ai and camped to the north of it, with the valley between them and the city.
 
12 Now Joshua had taken about five thousand men and set up an ambush between Bethel and Ai, to the west of the city. 13 So the forces were stationed with the main camp to the north of the city and the rear guard to the west of the city. And that night Joshua went into the valley.
 
14 When the king of Ai saw the Israelites, he hurried out early in the morning with the men of the city to engage them in battle at an appointed place overlooking the Arabah. But he did not know that an ambush had been set up against him behind the city. 15 Joshua and all Israel let themselves be beaten back before them, and they fled toward the wilderness. 16 Then all the men of Ai were summoned to pursue them, and they followed Joshua and were drawn away from the city. 17 Not a man was left in Ai or Bethel who did not go out after Israel, leaving the city wide open while they pursued Israel.
 
18 Then the LORD said to Joshua, “Hold out your battle lance * 8:18 Or javelin; twice in this verse, and also in verse 26 toward Ai, for into your hand I will deliver the city.” So Joshua held out his battle lance toward Ai, 19 and as soon as he did so, the men in ambush rose quickly from their position. They rushed forward, entered the city, captured it, and immediately set it on fire.
 
20 When the men of Ai turned and looked back, the smoke of the city was rising into the sky. They could not escape in any direction, and the troops who had fled to the wilderness now became the pursuers. 21 When Joshua and all Israel saw that the men in ambush had captured the city and that smoke was rising from it, they turned around and struck down the men of Ai. 22 Meanwhile, those in the ambush came out of the city against them, and the men of Ai were trapped between the Israelite forces on both sides. So Israel struck them down until no survivor or fugitive remained. 23 But they took the king of Ai alive and brought him to Joshua.
 
24 When Israel had finished killing all the men of Ai who had pursued them into the field and wilderness, and when every last one of them had fallen by the sword, all the Israelites returned to Ai and put it to the sword as well. 25 A total of twelve thousand men and women fell that day—all the people of Ai. 26 Joshua did not draw back the hand that held his battle lance until he had devoted to destruction 8:26 Forms of the Hebrew cherem refer to the giving over of things or persons to the LORD, either by destroying them or by giving them as an offering. all who lived in Ai. 27 Israel took for themselves only the cattle and plunder of that city, as the LORD had commanded Joshua.
 
28 So Joshua burned Ai 8:28 Ai means ruin. and made it a permanent heap of ruins, a desolation to this day. 29 He hung the king of Ai on a tree § 8:29 Or He impaled the king of Ai on a pole until evening, and at sunset Joshua commanded that they take down the body from the tree and throw it down at the entrance of the city gate. And over it they raised a large pile of rocks, which remains to this day.
Joshua Renews the Covenant
(Deuteronomy 27:1–10)
 
30 At that time Joshua built an altar on Mount Ebal to the LORD, the God of Israel, 31 just as Moses the servant of the LORD had commanded the Israelites. He built it according to what is written in the Book of the Law of Moses: “an altar of uncut stones on which no iron tool has been used.”* 8:31 Exodus 20:25; Deuteronomy 27:5 And on it they offered burnt offerings to the LORD, and they sacrificed peace offerings.
 
32 And there in the presence of the Israelites, Joshua inscribed on the stones a copy of the law of Moses, which he had written. 33 All Israel, foreigners and citizens alike, with their elders, officers, and judges, stood on both sides of the ark of the covenant of the LORD facing the Levitical priests who carried it. Half of the people stood in front of Mount Gerizim and half of them in front of Mount Ebal, as Moses the servant of the LORD had commanded earlier, to bless the people of Israel.
 
34 Afterward, Joshua read aloud all the words of the law—the blessings and the curses—according to all that is written in the Book of the Law. 35 There was not a word of all that Moses had commanded that Joshua failed to read before the whole assembly of Israel, including the women, the little ones, and the foreigners who lived among them.

*8:18 8:18 Or javelin; twice in this verse, and also in verse 26

8:26 8:26 Forms of the Hebrew cherem refer to the giving over of things or persons to the LORD, either by destroying them or by giving them as an offering.

8:28 8:28 Ai means ruin.

§8:29 8:29 Or He impaled the king of Ai on a pole

*8:31 8:31 Exodus 20:25; Deuteronomy 27:5