When Joshua was told that the five kings had been found hiding in the cave at Makkedah,