16 And these five kings fled, and hid themselves in the cave at Makkedah. 17 And it was told Joshua, saying, The five kings have been found, hid in the cave at Makkedah. 18 And Joshua said, Roll great stones before the mouth of the cave, and set men before it to keep them. 19 And ye, stay not, pursue after your enemies, and smite the hindmost of them; suffer them not to enter into their cities; for Jehovah your God has given them into your hand. 20 And it came to pass when Joshua and the children of Israel had ended smiting them with a very great slaughter, until they were consumed, that the remnant which remained of them entered into fortified cities; 21 and all the people returned to the camp to Joshua, at Makkedah, in peace; none moved his tongue against the children of Israel. 22 And Joshua said, Open the mouth of the cave, and bring forth to me those five kings out of the cave. 23 And they did so, and brought forth to him those five kings out of the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, the king of Eglon. 24 And it came to pass when they had brought forth those kings to Joshua, that Joshua called to all the men of Israel, and said to the captains of the men of war who went with him, Come forward, put your feet on the necks of these kings. And they came forward and put their feet on their necks. 25 And Joshua said to them, Fear not, neither be dismayed; be strong and courageous, for thus will Jehovah do to all your enemies against whom ye fight. 26 And afterwards Joshua smote them, and put them to death, and hanged them on five trees; and they were hanging upon the trees until the evening. 27 And it came to pass at the time of the going down of the sun, that Joshua commanded, and they took them down off the trees, and cast them into the cave where they had been hid, and laid great stones before the cave's mouth, [which remain] to this very day.

Matthew Henry's Commentary on Joshua 10:16-27

Commentary on Joshua 10:15-27

(Read Joshua 10:15-27)

None moved his tongue against any of the children of Israel. This shows their perfect safety. The kings were called to an account, as rebels against the Israel of God. Refuges of lies will but secure for God's judgment. God punished the abominable wickedness of these kings, the measure of whose iniquity was now full. And by this public act of justice, done upon these ringleaders of the Canaanites in sin, he would possess his people with the greater dread and detestation of the sins of the nations that God cast out from before them. Here is a type and figure of Christ's victories over the powers of darkness, and of believers' victories through him. In our spiritual conflicts we must not be satisfied with obtaining some important victory. We must pursue our scattered enemies, searching out the remains of sin as they rise up in our hearts, and thus pursue the conquest. In so doing, the Lord will afford light until the warfare be accomplished.