So after an all-night march from Gilgal, Joshua attacked them by surprise. 