Joshua 8:8

8And 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. aSee, I have commanded you.”

Joshua 8:12

12He took about 5,000 men and set them in ambush between Bethel and Ai, to the west of the city.
Copyright information for ESV