Matthew Henry's Commentary
Now it came to pass, when Adonizedek king of Jerusalem had heard how Joshua had taken Ai, and had utterly destroyed it; as he had done to Jericho and her king, so he had done to Ai and her king; and how the inhabitants of Gibeon had made peace with Israel, and were among them;
10:1-6 When sinners leave the service of Satan and the friendship of the world, that they make peace with God and join Israel, they must not marvel if the world hate them, if their former friends become foes. By such methods Satan discourages many who are convinced of their danger, and almost persuaded to be Christians, but fear the cross. These things should quicken us to apply to God for protection, help, and deliverance.
That they feared greatly, because Gibeon was a great city, as one of the royal cities, and because it was greater than Ai, and all the men thereof were mighty.
Wherefore Adonizedek king of Jerusalem sent unto Hoham king of Hebron, and unto Piram king of Jarmuth, and unto Japhia king of Lachish, and unto Debir king of Eglon, saying,
Come up unto me, and help me, that we may smite Gibeon: for it hath made peace with Joshua and with the children of Israel.
Therefore the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, the king of Eglon, gathered themselves together, and went up, they and all their hosts, and encamped before Gibeon, and made war against it.
And the men of Gibeon sent unto Joshua to the camp to Gilgal, saying, Slack not thy hand from thy servants; come up to us quickly, and save us, and help us: for all the kings of the Amorites that dwell in the mountains are gathered together against us.
So Joshua ascended from Gilgal, he, and all the people of war with him, and all the mighty men of valour.
10:7-14 The meanest and most feeble, who have just begun to trust the Lord, are as much entitled to be protected as those who have long and faithfully been his servants. It is our duty to defend the afflicted, who, like the Gibeonites, are brought into trouble on our account, or for the sake of the gospel. Joshua would not forsake his new vassals. How much less shall our true Joshua fail those who trust in Him! We may be wanting in our trust, but our trust never can want success. Yet God's promises are not to slacken and do away, but to quicken and encourage our endeavours. Notice the great faith of Joshua, and the power of God answering it by the miraculous staying of the sun, that the day of Israel's victories might be made longer. Joshua acted on this occasion by impulse on his mind from the Spirit of God. It was not necessary that Joshua should speak, or the miracle be recorded, according to the modern terms of astronomy. The sun appeared to the Israelites over Gibeon, and the moon over the valley of Ajalon, and there they appeared to be stopped on their course for one whole day. Is any thing too hard for the Lord? forms a sufficient answer to ten thousand difficulties, which objectors have in every age started against the truth of God as revealed in his written word. Proclamation was hereby made to the neighbouring nations, Behold the works of the Lord, and say, What nation is there so great as Israel, who has God so nigh unto them?
And the LORD said unto Joshua, Fear them not: for I have delivered them into thine hand; there shall not a man of them stand before thee.
Joshua therefore came unto them suddenly, and went up from Gilgal all night.
And the LORD discomfited them before Israel, and slew them with a great slaughter at Gibeon, and chased them along the way that goeth up to Bethhoron, and smote them to Azekah, and unto Makkedah.
And it came to pass, as they fled from before Israel, and were in the going down to Bethhoron, that the LORD cast down great stones from heaven upon them unto Azekah, and they died: they were more which died with hailstones than they whom the children of Israel slew with the sword.
Then spake Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon.
And the sun stood still, and the moon stayed, until the people had avenged themselves upon their enemies. Is not this written in the book of Jasher? So the sun stood still in the midst of heaven, and hasted not to go down about a whole day.
And there was no day like that before it or after it, that the LORD hearkened unto the voice of a man: for the LORD fought for Israel.
And Joshua returned, and all Israel with him, unto the camp to Gilgal.
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.
But these five kings fled, and hid themselves in a cave at Makkedah.
And it was told Joshua, saying, The five kings are found hid in a cave at Makkedah.
And Joshua said, Roll great stones upon the mouth of the cave, and set men by it for to keep them:
And stay ye not, but 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.
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, that the rest which remained of them entered into fenced cities.
And all the people returned to the camp to Joshua at Makkedah in peace: none moved his tongue against any of the children of Israel.
Then said Joshua, Open the mouth of the cave, and bring out those five kings unto me out of the cave.
And they did so, and brought forth those five kings unto him out of the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon.
And it came to pass, when they brought out those kings unto Joshua, that Joshua called for all the men of Israel, and 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.
And Joshua said unto them, Fear not, nor be dismayed, be strong and of good courage: for thus shall the LORD do to all your enemies against whom ye fight.
And afterward Joshua smote them, and slew them, and hanged them on five trees: and they were hanging upon the trees until the evening.
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 wherein they had been hid, and laid great stones in the cave's mouth, which remain until this very day.
And that day Joshua took Makkedah, and smote it with the edge of the sword, and the king thereof he utterly destroyed, them, and all the souls that were therein; he let none remain: and he did to the king of Makkedah as he did unto the king of Jericho.
10:28-43 Joshua made speed in taking these cities. See what a great deal of work may be done in a little time, if we will be diligent, and improve our opportunities. God here showed his hatred of the idolatries and other abominations of which the Canaanites had been guilty, and shows us how great the provocation was, by the greatness of the destruction brought upon them. Here also was typified the destruction of all the enemies of the Lord Jesus, who, having slighted the riches of his grace, must for ever feel the weight of his wrath. The Lord fought for Israel. They could not have gotten the victory, if God had not undertaken the battle. We conquer when God fights for us; if he be for us, who can be against us?
Then Joshua passed from Makkedah, and all Israel with him, unto Libnah, and fought against Libnah:
And the LORD delivered it also, and the king thereof, into the hand of Israel; and he smote it with the edge of the sword, and all the souls that were therein; he let none remain in it; but did unto the king thereof as he did unto the king of Jericho.
And Joshua passed from Libnah, and all Israel with him, unto Lachish, and encamped against it, and fought against it:
And the LORD delivered Lachish into the hand of Israel, which took it on the second day, and smote it with the edge of the sword, and all the souls that were therein, according to all that he had done to Libnah.
Then Horam king of Gezer came up to help Lachish; and Joshua smote him and his people, until he had left him none remaining.
And from Lachish Joshua passed unto Eglon, and all Israel with him; and they encamped against it, and fought against it:
And they took it on that day, and smote it with the edge of the sword, and all the souls that were therein he utterly destroyed that day, according to all that he had done to Lachish.
And Joshua went up from Eglon, and all Israel with him, unto Hebron; and they fought against it:
And they took it, and smote it with the edge of the sword, and the king thereof, and all the cities thereof, and all the souls that were therein; he left none remaining, according to all that he had done to Eglon; but destroyed it utterly, and all the souls that were therein.
And Joshua returned, and all Israel with him, to Debir; and fought against it:
And he took it, and the king thereof, and all the cities thereof; and they smote them with the edge of the sword, and utterly destroyed all the souls that were therein; he left none remaining: as he had done to Hebron, so he did to Debir, and to the king thereof; as he had done also to Libnah, and to her king.
So Joshua smote all the country of the hills, and of the south, and of the vale, and of the springs, and all their kings: he left none remaining, but utterly destroyed all that breathed, as the LORD God of Israel commanded.
And Joshua smote them from Kadeshbarnea even unto Gaza, and all the country of Goshen, even unto Gibeon.
And all these kings and their land did Joshua take at one time, because the LORD God of Israel fought for Israel.
And Joshua returned, and all Israel with him, unto the camp to Gilgal.