Joshua 10:25-29 New American Standard Bible (NASB)

25. Joshua then said to them, "Do not fear or be dismayed! Be strong and courageous, for thus the Lord will do to all your enemies with whom you fight."

26. So afterward Joshua struck them and put them to death, and he hanged them on five trees; and they hung on the trees until evening.

27. It came about at sunset that Joshua gave a command, and they took them down from the trees and threw them into the cave where they had hidden themselves, and put large stones over the mouth of the cave, to this very day.

28. Now Joshua captured Makkedah on that day, and struck it and its king with the edge of the sword; he utterly destroyed it and every person who was in it. He left no survivor. Thus he did to the king of Makkedah just as he had done to the king of Jericho.

29. Then Joshua and all Israel with him passed on from Makkedah to Libnah, and fought against Libnah.

Joshua 10