Joshua 10:26-28 Tree of Life Version (TLV)
26 After this, Joshua struck them and put them to death, then hanged them on five trees, and they remained hanging on the trees until evening. 27 It came about at sunset that Joshua commanded that they be taken down from the trees and thrown into the cave where they had hidden themselves. Then they placed large stones at the mouth of the cave which are there to this very day.
28 On that day Joshua captured Makkedah and struck it and its king with the edge of the sword, putting it and every single soul in it under a ban of destruction, leaving no survivors. So he did to the king of Makkedah as he had done to the king of Jericho.