Joshua 8: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.

Joshua 8:7 belongs to the conquest of Ai, carried out by forces marching out from Gilgal to overthrow the city. Gilgal was Israel's first encampment in the promised land, on a plain rich in history where Samuel and Saul later stood.

The command was given for a renewed advance against Ai after Achan's sentence was carried out and God's wrath was turned away from Israel. God then commanded Joshua to take all the men of war and advance against Ai again. Israel soon took possession of the city with God's power and help. In that battle the armies of heaven fought for Israel and their enemies were put to flight.