Joshua 10:27-28
10:27 At sunset Joshua ordered his men to take them down from the trees.
They threw them into the cave where they had hidden and piled large stones over the mouth of the cave. (They remain to this very day.)
Joshua Launches a Southern Campaign
10:28 That day Joshua captured Makkedah and put the sword to it and its king. He annihilated everyone who lived in it; he left no survivors. He did to its king what he had done to the king of Jericho.