Then Joshua and all Israel with him passed on from Lachish to Eglon, camped against it and fought against it.