Joshua 10:33-34

10:33 Then King Horam of Gezer came up to help Lachish, but Joshua struck down him and his army until no survivors remained.

10:34 Joshua and all Israel marched from Lachish to Eglon. They deployed troops and fought against it.