Joshua 10:26-28 Lexham English Bible (LEB)
26 And after this Joshua struck them down and killed them, and he hanged them on five trees. And they were hanging on the trees until the evening. 27 And it happened at the time of sunset,[a] Joshua commanded, and they took them down from the trees and threw them into the cave where they had hidden themselves, and they put large stones against the mouth of the cave, which are there to this very day.
28 Joshua captured Makkedah on that day, and he struck it and its king with the edge of the sword;[b] he utterly destroyed it and everyone that was in it. He did not leave behind a survivor. So he did to the king of Makkedah just as he did to the king of Jericho.