Joshua 10:26-28 Complete Jewish Bible (CJB)
26 With that, Y’hoshua struck them and put them to death, hanging them on five trees, where they remained hanging until evening. 27 At sunset Y’hoshua gave an order, and they lowered them from the trees and threw them into the cave where they had hidden themselves, then laid big stones at the mouth of the cave; and there they remain to this day.
28 Y’hoshua captured Makkedah that day, defeating it and its king by the sword. He completely destroyed them, everyone there — he left no one; and he did to the king of Makkedah what he had done to the king of Yericho.