Joshua 10:26-34
English Standard Version
Chapter 10
26And afterward Joshua struck them and put them to death, and he hanged them on five trees. And they hung on the trees until evening. 27But at the time of the going down of the sun, Joshua commanded, and they took them down from the trees and threw them into the cave where they had hidden themselves, and they set large stones against the mouth of the cave, which remain to this very day.
29Then Joshua and all Israel with him passed on from Makkedah to Libnah and fought against Libnah.
30And the Lord gave it also and its king into the hand of Israel. And he struck it with the edge of the sword, and every person in it; he left none remaining in it. And he did to its king as he had done to the king of Jericho.