Joshua 8:9

Amplified Bible (AMP)
So Joshua sent them off, and they went to the place for the ambush and stayed [hidden] between Bethel and Ai, on the west side of Ai; but Joshua spent that night among the people [in Gilgal].

Read Joshua 8:9 in other translations