Then Joshua and all Israel let themselves be beaten before them. They fled in the direction of the desert.