Joshua 10:26-28 Revised Standard Version Catholic Edition (RSVCE)
26 And afterward Joshua smote them and put them to death, and he hung them on five trees. And they hung upon the trees until evening; 27 but at the time of the going down of the sun, Joshua commanded, and they took them down from the trees, and threw them into the cave where they had hidden themselves, and they set great stones against the mouth of the cave, which remain to this very day.
28 And Joshua took Makke′dah on that day, and smote it and its king with the edge of the sword; he utterly destroyed every person in it, he left none remaining; and he did to the king of Makke′dah as he had done to the king of Jericho.
Joshua 10:26-28 New International Version (NIV)
26 Then Joshua put the kings to death and exposed their bodies on five poles, and they were left hanging on the poles until evening.
27 At sunset Joshua gave the order and they took them down from the poles and threw them into the cave where they had been hiding. At the mouth of the cave they placed large rocks, which are there to this day.
Southern Cities Conquered
28 That day Joshua took Makkedah. He put the city and its king to the sword and totally destroyed everyone in it. He left no survivors. And he did to the king of Makkedah as he had done to the king of Jericho.