Conquest of Ai
1The Lord said to Joshua, “Do not be afraid or discouraged.8:1 Dt 1:21; 7:18; 31:8; Jos 1:9; 10:25 Take all the troops with you and go attack Ai. Look, I have handed over to you the king of Ai, his people, city, and land.8:1 Jos 6:2
2Treat Ai and its king as you did Jericho and its king,8:2 Jos 6:17 except that you may plunder its spoil and livestock for yourselves.8:2 Dt 20:14; Jos 8:27 Set an ambush behind the city.”8:2 Jdg 9:32–35,43; 20:29; 1Sm 15:5
3So Joshua and all the troops set out to attack Ai. Joshua selected thirty thousand of his best soldiers and sent them out at night.
4He commanded them, “Pay attention. Lie in ambush behind the city, not too far from it, and all of you be ready.8:4 Jdg 20:29
5Then I and all the people who are with me will approach the city. When they come out against us as they did the first time, we will flee from them.
6They will come after us until we have drawn them away from the city, for they will say, ‘They are fleeing from us as before.’ While we are fleeing from them,
7you are to come out of your ambush and seize the city. The Lord your God will hand it over to you.
8After taking the city, set it on fire. Follow the Lord’s command — see that you do as I have ordered you.”
9So Joshua sent them out, and they went to the ambush site and waited between Bethel and Ai, to the west of Ai. But he spent that night with the troops.
10Joshua started early the next morning and mobilized them. Then he and the elders of Israel led the people up to Ai.
11All the troops who were with him went up and approached the city, arriving opposite Ai, and camped to the north of it, with a valley between them and the city.
12Now Joshua had taken about five thousand men and set them in ambush between Bethel and Ai, to the west of the city.
13The troops were stationed in this way: the main8:13 Lit way: all the camp to the north of the city and its rear guard to the west of the city. And that night Joshua went into the valley.
14When the king of Ai saw the Israelites, the men of the city hurried and went out early in the morning so that he and all his people could engage Israel in battle at a suitable place facing the Arabah. But he did not know there was an ambush waiting for him behind the city.
15Joshua and all Israel pretended to be beaten back by them and fled toward the wilderness.8:15 Jdg 20:36
16Then all the troops of Ai were summoned to pursue them, and they pursued Joshua and were drawn away from the city.
17Not a man was left in Ai or Bethel who did not go out after Israel, leaving the city exposed while they pursued Israel.
18Then the Lord said to Joshua, “Hold out the javelin in your hand toward Ai, for I will hand the city over to you.” So Joshua held out his javelin toward it.
19When he held out his hand, the men in ambush rose quickly from their position. They ran, entered the city, captured it, and immediately set it on fire.
20The men of Ai turned and looked back, and smoke from the city was rising to the sky! They could not escape in any direction, and the troops who had fled to the wilderness now became the pursuers.
21When Joshua and all Israel saw that the men in ambush had captured the city and that smoke was rising from it, they turned back and struck down the men of Ai.
22Then men in ambush came out of the city against them, and the men of Ai were trapped between the Israelite forces, some on one side and some on the other. They struck them down until no survivor or fugitive remained,8:22 Dt 7:2
23but they captured the king of Ai alive and brought him to Joshua.
24When Israel had finished killing everyone living in Ai who had pursued them into the open country, and when every last one of them had fallen by the sword, all Israel returned to Ai and struck it down with the sword.
25The total of those who fell that day, both men and women, was twelve thousand — all the people of Ai.
26Joshua did not draw back his hand that was holding the javelin until all the inhabitants of Ai were completely destroyed.8:26 Nm 21:2–3; Dt 2:34; Jos 2:10; 6:21; 10:1,28,35–40; 11:11–12,20–21; 24:20
27Israel plundered only the cattle and spoil of that city for themselves, according to the Lord’s command that he had given Joshua.
28Joshua burned Ai and left it a permanent ruin, still desolate today.8:28 Dt 13:16; Jos 6:25
29He hung8:29 Or impaled the body of the king of Ai on a tree8:29 Or wooden stake until evening, and at sunset Joshua commanded that they take his body down from the tree.8:29 Dt 21:21–23 They threw it down at the entrance of the city gate and put a large pile of rocks over it, which still remains today.
Renewed Commitment to the Law
30At that time Joshua built an altar on Mount Ebal8:30 Dt 27:4–6 to the Lord, the God of Israel,
31just as Moses the Lord’s servant 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 Ex 20:24–25; Dt 27:5–7 Then they offered burnt offerings to the Lord and sacrificed fellowship offerings on it.
32There on the stones, Joshua copied the law of Moses, which he had written in the presence of the Israelites.8:32 Dt 27:2–3
33All Israel — resident alien and citizen alike — with their elders, officers, and judges, stood on either side of the ark of the Lord’s covenant facing the Levitical priests who carried it. Half of them were in front of Mount Gerizim and half in front of Mount Ebal,8:33 Dt 11:29 as Moses the Lord’s servant had commanded earlier concerning blessing the people of Israel.8:33 Dt 27:12–13
34Afterward, Joshua read aloud all the words of the law — the blessings as well as the curses — according to all that is written in the book of the law.
35There was not a word of all that Moses had commanded that Joshua did not read before the entire assembly of Israel, including the women, the dependents, and the resident aliens who lived among them.8:35 Dt 31:12; Neh 8:2–3; 13:1