1.

And the LORD said unto Joshua, Fear not, neither be thou dismayed: take all the people of war with thee, and arise, go up to Ai: see, I have given into thy hand the king of Ai, and his people, and his city, and his land:

2.

And thou shalt do to Ai and her king as thou didst unto Jericho and her king: only the spoil thereof, and the cattle thereof, shall ye take for a prey unto yourselves: lay thee an ambush for the city behind it.

Ver. 2. Lay thee an ambush for the city, behind it That is, to the west; for the camp of Gilgal was to the east of Ai. It is asked here, by some, "How happens it that God, who, by his infinite power, could so easily destroy Ai and its inhabitants, should make use of artifice and stratagem to procure victory to the Hebrews? The pagans themselves (they add) judged such arts unworthy of men of courage; (see for examples, Grotius de Jure B. & P. l. iii. c. 1. sect. 20.) and they seem beneath the greatness of the Almighty." But how weak is this manner of talking? Is God always obliged to work miracles, because he is able? And why does it seem more improper for him to have ordered an ambuscade to encompass the men of Ai, than to have set apart seven days for overturning the walls of Jericho, with so many ceremonies? He could, without striking a blow, have suddenly mowed down all the Canaanites, and opened to his people an entrance into Palestine, without their meeting the least opposition: but, had he chosen this method, he would neither have displayed his power by that vast number of miracles which he wrought, nor made the Israelites pass through trials that were expedient to their holiness and happiness.

3.

So Joshua arose, and all the people of war, to go up against Ai: and Joshua chose out thirty thousand mighty men of valour, and sent them away by night.

4.

And he commanded them, saying, Behold, ye shall lie in wait against the city, even behind the city: go not very far from the city, but be ye all ready:

5.

And I, and all the people that are with me, will approach unto the city: and it shall come to pass, when they come out against us, as at the first, that we will flee before them,

6.

(For they will come out after us) till we have drawn them from the city; for they will say, They flee before us, as at the first: therefore we will flee before them.

7.

Then ye shall rise up from the ambush, and seize upon the city: for the LORD your God will deliver it into your hand.

8.

And it shall be, when ye have taken the city, that ye shall set the city on fire: according to the commandment of the LORD shall ye do. See, I have commanded you.

9.

Joshua therefore sent them forth: and they went to lie in ambush, and abode between Bethel and Ai, on the west side of Ai: but Joshua lodged that night among the people.

10.

And Joshua rose up early in the morning, and numbered the people, and went up, he and the elders of Israel, before the people to Ai.

Ver. 10. Joshua—numbered the people That is to say, he ordered the officers to see if all their men were ready, and to begin their march by day-break, accompanied by the heads of their tribes, or judges of the people, who served him as his council of war, and were authorized, by their calling, to assist him with their advice when necessary.

11.

And all the people, even the people of war that were with him, went up, and drew nigh, and came before the city, and pitched on the north side of Ai: now there was a valley between them and Ai.

Ver. 11. And came—and pitched on the north side of Ai Those who came with Joshua were all the people of war who were with him; i.e. evidently the bulk of the army, in opposition to the thirty thousand men who had been detached in the night-time. It was about three leagues from Gilgal to Ai. See Calmet. The army at noon might be over against this latter town, having only the valley to cross to reach the high places on which it was situated. But Joshua clearly conducted it in such a manner, that it was concealed by mountains which lay on that side, and which covered their march from the sight of the men of Ai.

12.

And he took about five thousand men, and set them to lie in ambush between Bethel and Ai, on the west side of the city.

Ver. 12. And he took about five thousand men Besides the thirty thousand men whom Joshua had sent off, he detached five thousand more, either to inforce the former, or to guard the defiles, and shut up passages against those who fled. See Le Clerc and Calmet. We cannot help owning, however, that all this is far from being clear. It is reckoned, that six hundred thousand fighting men would only have occasioned perplexity on this occasion; that Joshua took only thirty thousand chosen men for this expedition; that of these thirty thousand men he detached five thousand, who, making a turn from the north to the south, by way of the east, posted themselves in the nighttime as near as possible to Ai, while the general passed that night with the twenty-five thousand men remaining, and did not advance till the morrow. Or else, some conjecture, with Calvin, that the five thousand men, who had lain in ambush under favour of the dark, formed a detachment separate from that of the thirty thousand men, who did not march till the morrow. If these accounts do not appear so wholly conformable to the text as the other, they seem to have greatly the advantage in point of arrangement. It is left to the reader to form his judgment of them. We shall only observe, that an ambuscade of thirty thousand men must have been very strong; and that the reason alleged by Bishop Patrick, to prove that the whole army of Israel marched before Ai, appears not to be substantial. "It was," says he, "in order that all the Israelites might partake of the spoil:" but then this learned prelate had forgotten what he judiciously observes elsewhere; (see Numbers 31:25; Numbers 31:54.) namely, that those who remained in the camp had a suitable proportion of the booty, as well as those who were commanded on an expedition; and that God himself had ordered matters in this manner.

13.

And when they had set the people, even all the host that was on the north of the city, and their liers in wait on the west of the city, Joshua went that night into the midst of the valley.

Ver. 13. And when they had set the people, &c.—on the north Or, on the north-east. The meaning here is, that the whole army of Israel posted itself to the north or northeast of Ai, in the mountains, while the thirty or thirty-five thousand men in ambush turned behind the city to the west, and all these troops remained in this position the rest of the day and the night following: or else, this verse must be considered to express briefly what follows; namely, that Joshua, who went in the night from his camp at Gilgal at the head of thirty thousand men, took his station to the north of Ai, in a valley, where he lay under covert; that the skirt of one of his wings turned off west of the place, and that from thence he sent the five thousand, who also went and lay in ambush on the west, but lower down, between Ai and Beth-el. Now we may very well suppose, that all this was done in one night. Joshua went out in the evening; when he came to the place where he had determined to stop, and whence he detached the five thousand men, it was dark night; but after taking some little repose, he renewed his march before day, and, the day breaking, the enemy perceived and attacked them.

14.

And it came to pass, when the king of Ai saw it, that they hasted and rose up early, and the men of the city went out against Israel to battle, he and all his people, at a time appointed, before the plain; but he wist not that there were liers in ambush against him behind the city.

15.

And Joshua and all Israel made as if they were beaten before them, and fled by the way of the wilderness.

Ver. 15. And Joshua and all Israel, &c.— As soon as the king of Ai appeared in the field, Joshua executed his plan; he caused his men to give ground, who fled (as Mr. Chais renders it) towards the wilderness, or to the plain which separated Ai from Jericho, as if afraid to face the garrison.

16.

And all the people that were in Ai were called together to pursue after them: and they pursued after Joshua, and were drawn away from the city.

17.

And there was not a man left in Ai or Bethel, that went not out after Israel: and they left the city open, and pursued after Israel.

18.

And the LORD said unto Joshua, Stretch out the spear that is in thy hand toward Ai; for I will give it into thine hand. And Joshua stretched out the spear that he had in his hand toward the city.

Ver. 18. And the Lord said unto Joshua, Stretch out the spear, &c.— The Hebrew word כידון kidon, signifies a shield; and so several interpreters, particularly the Vulgate, render it. Bochart, however, has shewn, that it also signifies a lance, or pike, at the top of which Joshua had fixed a streamer, to make it a standard, that the whole army might observe it, and that it was, in fact, so observed; that is, as a signal, to rally those who feigned flight; immediately determining the liers in ambush to rise, and march strait on to Ai. Probably, as this signal was beforehand agreed upon, and as God himself had given Joshua orders respecting it, the historian, who only mentions it in this place, speaks of it as if given by God at the very moment of execution. Accordingly, he stretched forth the spear, turning himself towards Ai. So formerly Moses, during the famous battle against Amalek, lifted up his rod in the sight of the Israelites, to assure them of victory.

19.

And the ambush arose quickly out of their place, and they ran as soon as he had stretched out his hand: and they entered into the city, and took it, and hasted and set the city on fire.

Ver. 19. And the ambush arose quickly, &c.— Some find it difficult to understand how they could perceive Joshua stretch out his standard, as they must have been at a very great distance, and among the neighbouring mountains. Masius answers, that they were divinely informed of it. We may add, that, Joshua having settled with them respecting this signal, they had posted persons to observe it, and inform them either by sound of trumpet, or otherwise. On their entrance into Ai, finding no resistance, they set fire to some houses in it, so situated that the smoke might be most easily discerned by the army.
REFLECTIONS.—We may here observe, 1. The conduct and prudence, the courage and caution, of the general. The ambush is regulated by his orders; he is by night in the valley, probably to choose the proper place for their concealment, perhaps to be alone with God in prayer for success. Not dismayed at the former defeat, he advances with confidence; by retiring secures the victory, and when the prey is in the net, lifts up that spear which never rested from slaughter, whilst one man remained alive. Note; (1.) To spend part of the night in prayer is highly needful, when the next morning leads to the field of battle. (2.) The Lord Jesus Christ, by yielding for a moment in his humiliation, triumphed thus more gloriously, when, on a resurrection-day, he turned back upon his enemies, and led captivity captive. (3.) They who have drawn the sword against their spiritual enemies, must cast away the scabbard, and only expect rest and victory in the grave. 2. The infatuation of Israel's enemies. Intoxicated by success, they kept neither scouts to discover the ambush behind them, nor feared to advance to meet the approaching armies of Israel. When shouting already for anticipated victory, on the feint made to retire, lo, the flames ascend behind them; their foes halt, face about, and attack with fury irresistible; whilst they, dismayed, have neither power to fight, nor opportunity to fly. Note; (1.) The prosperity of fools destroys them. (2.) The enemies of God's people often promise themselves to glut their fury in their destruction, when they are only madly advancing to their own ruin. (3.) Security, and self-confidence in an evil way, are among the direst symptoms of a reprobate mind, and the surest presages of eternal misery. (4.) The triumphing of the wicked is but for a moment: in death, they shall lie down and perish for ever.

20.

And when the men of Ai looked behind them, they saw, and, behold, the smoke of the city ascended up to heaven, and they had no power to flee this way or that way: and the people that fled to the wilderness turned back upon the pursuers.

21.

And when Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned again, and slew the men of Ai.

22.

And the other issued out of the city against them; so they were in the midst of Israel, some on this side, and some on that side: and they smote them, so that they let none of them remain or escape.

23.

And the king of Ai they took alive, and brought him to Joshua.

24.

And it came to pass, when Israel had made an end of slaying all the inhabitants of Ai in the field, in the wilderness wherein they chased them, and when they were all fallen on the edge of the sword, until they were consumed, that all the Israelites returned unto Ai, and smote it with the edge of the sword.

25.

And so it was, that all that fell that day, both of men and women, were twelve thousand, even all the men of Ai.

26.

For Joshua drew not his hand back, wherewith he stretched out the spear, until he had utterly destroyed all the inhabitants of Ai.

Ver. 26. Joshua drew not his hand back, &c.— He ceased not to fight spear in hand; or rather, he continued to hold up the standard to animate his troops to destroy the enemy, till they were all put to the sword.

27.

Only the cattle and the spoil of that city Israel took for a prey unto themselves, according unto the word of the LORD which he commanded Joshua.

28.

And Joshua burnt Ai, and made it an heap for ever, even a desolation unto this day.

Ver. 28. And Joshua burnt Ai, &c.— After giving up the city to plunder, according to the express command of God, Joshua caused it to be burnt to ashes, leaving there only a heap of stones, which was to be seen even to the time of writing this book. See ver. 11. 26. As to the expression an heap for ever, it is well known that it should not be understood in strictness. When the Hebrews say a thing will last for ever, it almost always signifies, that it will last a very long time, and nothing more. Thus we find that the city of Ai had been rebuilt, and was inhabited at the time of Esdras and Nehemiah. Ezra 2:28. Nehemiah 11:31.

29.

And the king of Ai he hanged on a tree until eventide: and as soon as the sun was down, Joshua commanded that they should take his carcase down from the tree, and cast it at the entering of the gate of the city, and raise thereon a great heap of stones, that remaineth unto this day.

Ver. 29. And the king of Ai he hanged on a tree An end worthy of a prince who, doubtless, had by his example encouraged his subjects to resist the commands of God, and so to fill up the measure of their guilt.
Until even-tide See the law, Deuteronomy 21:22-23.
The king of Ai alone survived the general slaughter, and he was only spared to meet a more ignominious doom. He is hanged in terrorem, that the kings of Canaan may hear and tremble; and on his corpse a monument is raised in the gate of the desolate city, to warn all beholders of the end of those who fight against God. Let wicked kings, who oppress God's people, still look to this heap, and remember that the same avenging God lives and reigns. The people of the city, to the number of twelve thousand, are sacrificed to the divine justice, and the spoil divided among the host, as an encouragement to them to go on boldly in fighting the Lord's battles. Note; They who endure hardships, as good soldiers of Jesus Christ, shall find to their comfort, that they who do his work shall reap his wages. The spear of Joshua now, like Moses's arm, is no longer lifted up. Note; In death, the believer shall no longer need to lift up the banner of war, nor to wield the sword of the spirit; but retire, to enjoy the fruit of his victories among the saints triumphant in the camp of the Lord of Hosts.

30.

Then Joshua built an altar unto the LORD God of Israel in mount Ebal,

Ver. 30. Then Joshua built an altar—in mount Ebal This should be rendered, as we have observed on Deuteronomy 27. BY mount Ebal; and nothing can more clearly prove the truth of the interpretation there given, than the relation of the fact before us. The taking of Jericho and Ai made Joshua master of the adjacent country: he advanced northward to Sichem, and, with all the people, went and took possession of the mountains Ebal and Gerizzim, placed by some, improperly, between Ai and Beth-el; but which we have spoken of in the notes on Deuteronomy 27.

31.

As Moses the servant of the LORD commanded the children of Israel, as it is written in the book of the law of Moses, an altar of whole stones, over which no man hath lift up any iron: and they offered thereon burnt offerings unto the LORD, and sacrificed peace offerings.

Ver. 31. And they offered thereon burnt-offerings, &c.— They renewed for the third time the covenant with God, as has been elsewhere observed. See on Deuteronomy 27:10.

32.

And he wrote there upon the stones a copy of the law of Moses, which he wrote in the presence of the children of Israel.

33.

And all Israel, and their elders, and officers, and their judges, stood on this side the ark and on that side before the priests the Levites, which bare the ark of the covenant of the LORD, as well the stranger, as he that was born among them; half of them over against mount Gerizim, and half of them over against mount Ebal; as Moses the servant of the LORD had commanded before, that they should bless the people of Israel.

34.

And afterward he read all the words of the law, the blessings and cursings, according to all that is written in the book of the law.

35.

There was not a word of all that Moses commanded, which Joshua read not before all the congregation of Israel, with the women, and the little ones, and the strangers that were conversant among them.