Joshua 10:26-28 Expanded Bible (EXB)
26 Then Joshua killed the five kings and hung their bodies on five trees [C an act of humiliation and shame; Deut. 21:23], where he left them until evening.
27 At sunset Joshua ·told [commanded] his men to take the bodies down from the trees. Then they threw them into the same cave where they had been hiding and covered the opening of the cave with large rocks, which are still there today.
28 That day Joshua ·defeated [L captured] Makkedah. He killed the king and ·completely destroyed [devoted to destruction; 2:10; 6:17; 10:1] all the people in that city as an offering to the Lord; no one was left alive. He did the same thing to the king of Makkedah that he had done to the king of Jericho.