From there he moved on to the hill country on the east of Bethel and pitched his tent, with Bethel on the west and Ai on the east, and there he built an altar to the Lord and invoked the name of the Lord.
So they stationed the forces, the main encampment that was north of the city and its rear guard west of the city, and Joshua went that night into the valley.