“Do not be afraid or discouraged,” Joshua said. “Be strong and courageous, for the LORD will do this to all the enemies you fight.”
25. And Joshua said unto them, Fear not, etc Joshua now triumphs in the persons of the five kings over all the others who remained. For he exhorts his own people to confidence, just as if those who still stood unsubdued were actually prostrate under their feet.
It was a brave appearance, no doubt, which the five kings made when they took the field for the reducing of Gibeon, and a brave army they had following them; but they were all routed, put into disorder first, and then brought to destruction by the hail-stones. And now Joshua thought, his work being done, he might go with his army into quarters of refreshment.
Commenting on Joshua 10:15-27
And afterwards Joshua smote them and slew them,.... With the sword; either by his own hands, or by others whom he ordered to slay them: and hanged them on five trees; to their shame and disgrace, and the terror of others: and they were hanging upon the trees until the evening; by way of contempt of them, and as a spectacle of terror to others...