And he removed from there to a mountain on the east of Bethel, and pitched his tent, having Bethel on the west, and Hai on the east: and there he built an altar to the LORD, and called on the name of the LORD.
And all the people, even the people of war that were with him, went up, and drew near, and came before the city, and pitched on the north side of Ai: now there was a valley between them and Ai.
And when they had set the people, even all the host that was on the north of the city, and their liers in wait on the west of the city, Joshua went that night into the middle of the valley.