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

Read Joshua 10:17 Using Other Translations

And it was told Joshua, saying, The five kings are found hid in a cave at Makkedah.
And it was told to Joshua, "The five kings have been found, hidden in the cave at Makkedah."
When Joshua heard that they had been found,