 It came about when the king of Ai saw it, he and his army got up early and rushed out to attack Israel at a certain place that was overlooking the Jordan River valley. He did not know that an ambush was waiting to attack from behind the city. 