Joshua moved on from Lachish to Eglon. Israel's whole army went with him. They took up their battle positions. Then they attacked Eglon.