But while God was busy chasing people, throwing stones, and stopping the sun and the moon from moving, the five kings got away.
But these five kings fled, and hid themselves in a cave at Makkedah. Joshua 10.16When the Israelites found them, Joshua told them to roll some big stones over the mouth of the cave to trap them, and then chase and kill any of the Amorite soldiers that were trying to get away. He told them to "smite the hindmost of them" (kick their butts).
Pursue after your enemies, and smite the hindmost of them; suffer them not to enter into their cities: for the LORD your God hath delivered them into your hand. 10.19So that's what they did.
And it came to pass, when Joshua and the children of Israel had made an end of slaying them with a very great slaughter, till they were consumed. 10.20Then they opened up the cave and brought the five kings to Joshua. He and his captains then do something strange: they put their feet on the necks of the kings.
Joshua ... said unto the captains of the men of war which went with him, Come near, put your feet upon the necks of these kings. And they came near, and put their feet upon the necks of them. 10.24While their doing this, Joshua says
Thus shall the LORD do to all your enemies against whom ye fight. 10.25So I guess God does this to his enemies, too.
After Joshua withdraws his feet from the kings' necks, he does what he does best: he kills them.
Joshua smote them, and slew them. 10.26aAnd hangs their dead bodies on trees until evening.
And hanged them on five trees: and they were hanging upon the trees until the evening. 10.26bThen he took down their bodies, put them back in the cave that they were hiding in, and covered the entrance to the cave with a bunch of rocks. The rocks are still there to this day. No kidding.
They took them down off the trees, and cast them into the cave wherein they had been hid, and laid great stones in the cave's mouth, which remain until this very day. 10.27(I put the death toll for the “very great slaughter” of Joshua 10.20 at 10,000.)