From Lachish, Joshua and all of Israel passed to Eglon. They camped against it and waged war against it.