Joshua and all Israel marched from Lachish to Eglon. They deployed troops and fought against it.