Then Joshua prepared to send some of them to hide and wait between Ai and Bethel, which was west of Ai. But Joshua stayed with his other soldiers that night.