After marching all night from Gilgal, Joshua caught them by surprise.