8:1 The LORD told Joshua: Dont be afraid and dont panic!1 Take the whole army with you and march against Ai!2 See, I am handing over to you3 the king of Ai, along with his people, city, and land. 8:2 Do to Ai and its king what you did to Jericho and its king, except you may plunder its loot and cattle. Set an ambush behind the city!
8:3 Joshua and the whole army marched against Ai.4 Joshua selected 30,000 brave warriors and sent them out at night. 8:4 He told5 them: Look, you will set an ambush behind the city. Dont go very far from the city; all of you be ready! 8:5 I and all the troops6 who are with me will approach the city. When they come out to fight us like before, we will retreat before them. 8:6 They will attack7 us until we have lured them from the city, for they will say, They are retreating before us like before. We will retreat before them. 8:7 Then you rise up from your hiding place8 and seize9 the city. The LORD your God will hand it over to you. 8:8 When you capture the city, set it10 on fire. Do as the LORD says! See, I have given you orders.11 8:9 Joshua sent them away and they went to their hiding place12 west of Ai, between Bethel and Ai.13 Joshua spent that night with the army.14
8:10 Bright and early the next morning Joshua gathered15 the army16 and he and the leaders17 of Israel marched18 ahead of them to Ai. 8:11 All the troops that were with him marched up and drew near the city.19 They camped north of Ai on the other side of the valley.20 8:12 He took 5000 men and set an ambush west of the city between Bethel and Ai. 8:13 The army was in positionthe main army north of the city and the rear guard west of the city. That night Joshua went into21 the middle of the valley.
8:14 When the king of Ai saw Israel, he and his whole army quickly got up the next day and went out to fight Israel at the meeting place near the Arabah.22 But he did not realize23 men were hiding behind the city.24 8:15 Joshua and all Israel pretended to be defeated by them and they retreated along the way to the desert. 8:16 All the reinforcements25 in Ai26 were ordered27 to chase them; they chased Joshua and were lured away from the city. 8:17 No men were left in Ai or Bethel;28 they all went out after Israel.29 They left the city wide open and chased Israel.
8:18 The LORD told Joshua, Hold out toward Ai the curved sword in your hand, for I am handing the city30 over to you. So Joshua held out toward Ai the curved sword in his hand. 8:19 When he held out his hand, the men waiting in ambush rose up quickly from their place and attacked.31 They entered the city, captured it, and immediately set it on fire. 8:20 When the men of Ai turned around, they saw32 the smoke from the city ascending into the sky and were so shocked they were unable to flee in any direction.33 In the meantime the men who were retreating to the desert turned against their pursuers. 8:21 When Joshua and all Israel saw that the men in ambush had captured the city and that the city was going up in smoke,34 they turned around and struck down the men of Ai. 8:22 At the same time the men who had taken the city came out to fight and the men of Ai were trapped in the middle.35 The Israelites struck them down, leaving no survivors or refugees. 8:23 But they captured the king of Ai alive and brought him to Joshua.
8:24 When Israel had finished killing all the men36 of Ai who had chased them toward the desert37 (they all fell by the sword)38, all Israel returned to Ai and put the sword to it. 8:25 12,000 men and women died39 that day, including all the men of Ai. 8:26 Joshua kept holding out his curved sword until Israel had annihilated all who lived in Ai.40 8:27 But Israel did plunder the cattle and the loot of the city, in accordance with the LORDs orders to Joshua.41 8:28 Joshua burned Ai and made it a permanently uninhabited mound (it remains that way to this very day).42 8:29 He hung the king of Ai on a tree, leaving him exposed until evening.43 At sunset Joshua ordered that his corpse be taken down from the tree.44 They threw it down at the entrance of the city gate and erected over it a large pile of stones (it remains to this very day).45
Covenant Renewal8:30 Then Joshua built an altar for the LORD God of Israel on Mount Ebal, 8:31 just as Moses, the LORDs servant, had commanded the Israelites. As described in the law scroll of Moses, it was made with uncut stones untouched by an iron tool.46 They offered burnt sacrifices on it and sacrificed tokens of peace.47 8:32 There in the presence of the Israelites Joshua inscribed on the stones a duplicate of the law written by Moses.48 8:33 All the people49, rulers208, leaders, and judges were standing on either side of the ark, in front of the levitical priests who carried the ark of the covenant of the LORD. Both resident aliens and native Israelites were there.50 Half the people stood in front of Mount Gerizim; the other half in front of Mount Ebal, as Moses, the LORDs servant, had formerly instructed to them to do for the formal blessing ceremony.51 8:34 Then52 Joshua read out loud all the words of the law, including the blessings and the curses, just as they are written in the law scroll. 8:35 Joshua read out loud every commandment Moses had given53 before the whole assembly of Israel, including the women, children, and resident aliens who lived among them.54