And the LORD threw them into confusion before Israel, who defeated them in a great slaughter at Gibeon, pursued them along the ascent to Beth-horon, and struck them down as far as Azekah and Makkedah.
10. And the Lord discomfited them, etc In the first slaughter the Lord exerted his own might, but used the swords of the people. Hence we infer that whenever he works by men, nothing is detracted from his glory, but whatever is done redounds to him alone.
Here, I. Joshua resolves to assist the Gibeonites, and God encourages him in this resolve. 1. He ascended from Gilgal (Jos 10:7), that is, he designed, determined, and prepared for, this expedition to relieve Gibeon, for it is probable it was before he stirred a step that God spoke to him to encourage him.
Commenting on Joshua 10:7-14
And the Lord discomfited them before Israel,.... Disturbed, troubled, and frightened them, at the appearance and presence of the people of Israel; they were thrown into terror and confusion upon their approach, being so sudden and unexpected: and slew them with a great slaughter at Gibeon; by the Israelites, who came upon them suddenly: and chased them along the way that goeth up to Bethhoron...