They turned back before the Israelites in the direction of the desert, but the fighting caught up with them, and those from the towns were slaughtering them there.