Then Joshua sent them away. They went to the place where they had planned to hide. They hid in a place west of Ai. It was between Bethel and Ai. But Joshua spent that night with his men.