81 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. 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."
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. 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. 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. 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. 7 Then you shall rise up from the ambush and seize the city, for the Lord your God will give it into your hand. 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." 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. 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. 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. 12 He took about 5,000 men and set them in ambush between Bethel and Ai, to the west of the city. 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. 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[1] toward the Arabah to meet Israel in battle. But he did not know that there was an ambush against him behind the city. 15 And Joshua and all Israel pretended to be beaten before them and fled in the direction of the wilderness. 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. 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. 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. 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. 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. 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. 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.
23 But the king of Ai they took alive, and brought him near to Joshua. 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. 25 And all who fell that day, both men and women, were 12,000, all the people of Ai. 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.[2] 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. 28 So Joshua burned Ai and made it forever a heap of ruins, as it is to this day.
Matthew Henry's Commentary on Joshua 8:1-28
Commentary on Joshua 8:1-2
(Read Joshua 8:1-2)
When we have faithfully put away sin, that accursed thing which separates between us and God, then, and not till then, we may look to hear from God to our comfort; and God's directing us how to go on in our Christian work and warfare, is a good evidence of his being reconciled to us. God encouraged Joshua to proceed. At Ai the spoil was not to be destroyed as at Jericho, therefore there was no danger of the people's committing such a trespass. Achan, who caught at forbidden spoil, lost that, and life, and all; but the rest of the people, who kept themselves from the accursed thing, were quickly rewarded for their obedience. The way to have the comfort of what God allows us, is, to keep from what he forbids us. No man shall lose by self-denial.
Commentary on Joshua 8:3-22
(Read Joshua 8:3-22)
Observe Joshua's conduct and prudence. Those that would maintain their spiritual conflicts must not love their ease. Probably he went into the valley alone, to pray to God for a blessing, and he did not seek in vain. He never drew back till the work was done. Those that have stretched out their hands against their spiritual enemies, must never draw them back.
Commentary on Joshua 8:23-29
(Read Joshua 8:23-29)
God, the righteous Judge, had sentenced the Canaanites for their wickedness; the Israelites only executed his doom. None of their conduct can be drawn into an example for others. Especial reason no doubt there was for this severity to the king of Ai; it is likely he had been notoriously wicked and vile, and a blasphemer of the God of Israel.