Joshua therefore came unto them suddenly, [and] went up from Gilgal all night.
After marching all night from Gilgal, Joshua caught them by surprise.