12 Taking about five thousand men, he set them in ambush between Bethel and Ai, to the west of the city.