The five Amorite kings ran away and hid in the cave at Makkedah.
Joshua was told, “The five kings have been found hiding in the cave at Makkedah.”