And as soon as Joshua stretched out the javelin towards the town, the men in ambush rushed into the town and captured it, and hurried to set the town on fire.