Joshua 8:9 (KJV)

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

Ellen G. White

The ambush west of Ai between Bethel and Ai was sent out from Gilgal, Israel's first encampment in the promised land on a plain rich in history where the twelve stones were set up for the crossing of the Jordan, the manna ceased, circumcision was renewed, the first Passover after the wanderings was kept, and the Captain of the Lord's host appeared. The sending belongs to Israel's renewed and second advance against Ai after the sentence upon Achan was carried out. The execution of the divine sentence upon Achan had turned away the wrath of God from Israel. For this renewed advance Joshua marshaled all the men of war as commanded. In the renewed attack divine power accompanied Israel and the city was soon taken, with the armies of Heaven fighting for Israel and putting their enemies to flight. The victory showed that Israel's only hope was obedience to God.

Pioneers and periodicals

Joshua sent men to lie in ambush on the west side of Ai, between Bethel and Ai, while he himself lodged that night among the people. His remaining with them that night rather than apart from them was leadership through shared hardship, and the next day he went into battle with them, personally leading the men who were to flee and then turn against the enemy. The advance on Ai set out from Gilgal, Israel's first encampment in the promised land on a plain rich in history where the twelve stones for the crossing of the Jordan were set up, the manna ceased, circumcision was renewed, the first Passover after the wanderings was kept, and the Captain of the Lord's host appeared. The verse belongs to Israel's renewed attack on Ai after an earlier defeat, undertaken under different circumstances and ending in the conquest of the city, as part of the conquering of the Canaanites and the division of the land. The earlier defeat and humiliation at Ai came from failure to trust God through self-sufficiency. The account in Joshua 7 and 8 shows the awful results of even one sin and sinner among God's people, taught through Achan's sin and its fearful consequences. The second advance against Ai came after the execution of the divine sentence upon Achan turned away wrath from Israel, when Joshua marshaled all the men of war as commanded and again advanced against Ai. In that renewed attack the armies of Heaven fought for Israel and their enemies were put to flight, showing that Israel's only hope was obedience to God. The final triumph over Ai means God had already given the victory to be taken by faith, which applies to victory over sin, over sins of commission and sins of omission, over indolence and slothfulness, over every besetment, over pride, love of the world, and selfishness, and over every wrong word and action, bringing entry into the freedom of the children of the King.