And he moved from there to the mountain on the east of Bethel, and pitched his tent, having Bethel on the west, and Ai on the east. And there he built an altar to LORD, and called upon the name of LORD.
And all the people, [even] the [men of] war who were with him, went up, and drew near, and came before the city, and encamped on the north side of Ai. Now there was a valley between him and Ai.
So they set the people, even all the army that was on the north of the city, and their ambushment that were on the west of the city, and Joshua went that night into the midst of the valley.