King Horam of Gezer came to the aid of Lachish, but Joshua defeated him and his army and left none of them alive.