Joshua along with all Israel moved on from Lachish to Eglon. They camped against it and attacked it.