Joshua was told, "The five kings have been found hiding in the cave at Makkedah."