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.
And he removed from thence to a mountain on the east of Beth-el, and pitched his tent, having Beth-el on the west, and Hai on the east: and there he erected an altar to the LORD, and called upon the name of the LORD.
And Joshua sent men from Jericho to Ai, which is beside Beth-aven, on the east side of Beth-el, and spoke to them, saying, Go up and view the country. And the men went up and viewed Ai.
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.