And he removed from thence unto the mountain on the east of Beth-el, and pitched his tent, having Beth-el on the west, and Ai on the east: and there he builded an altar unto the LORD, and called upon the name of the LORD.
And all the people, even the men of war that were with him, went up, and drew nigh, and came before the city, and pitched on the north side of Ai: now there was a valley between him and Ai.
So they set the people, even all the host that was on the north of the city, and their liers in wait that were on the west of the city; and Joshua went that night into the midst of the vale.