At sunset Joshua gave the order, and they took them down from the trees and threw them into the cave where they had hidden. They put large stones over the mouth of the cave, which remain there to this very day.
In context
25Joshua said to them, “Do not be afraid or discouraged. Be strong and courageous, for this is what Yahweh will do to all the enemies you fight against.” 26After this, Joshua struck the kings down and put them to death, and hanged them on five trees. They hung on the trees until evening. 27At sunset Joshua gave the order, and they took them down from the trees and threw them into the cave where they had hidden. They put large stones over the mouth of the cave, which remain there to this very day. 28That same day Joshua captured Makkedah and struck it down with the sword. He devoted its king and everyone in it to destruction, leaving no survivor. He did to the king of Makkedah as he had done to the king of Jericho. 29Then Joshua, and all Israel with him, moved on from Makkedah to Libnah and fought against Libnah.