Joshua 10:26-28 New American Bible (Revised Edition) (NABRE)
26 Thereupon Joshua struck and killed the kings, and hanged them on five trees, where they remained hanging until evening. 27 At sunset Joshua commanded that they be taken down from the trees and be thrown into the cave where they had hidden; over the mouth of the cave large stones were placed, which remain until this very day.
Conquest of Southern Canaan. 28 Makkedah, too, Joshua captured and put to the sword at that time. He put the city, its king, and every person in it under the ban, leaving no survivors. Thus he did to the king of Makkedah what he had done to the king of Jericho.