At that time Horam, king of Gezer, came up to help Lachish, but Joshua defeated him and his people, leaving him no survivors.