Then Joshua and all the Israelites went from Lachish to Eglon. They camped around Eglon and attacked it.