Then Horam king of Gezer came up to help Lachish, but Joshua defeated him and his people until he had left him no survivors.