And he took about five thousand men, and set them in ambush between Bethel and between Ai, on the west side of the city.