12 He had taken about five thousand men and put them in ambush between Bethel and Ai, west of the city.