10:12 Spoke Joshua - Being moved to beg it out of zeal to destroy God's enemies, and directed to it by the motion of God's spirit, and being filled with holy confidence of the success, he speaks the following words before the people, that that they might be witnesses. In the sight - That is, in the presence and audience of Israel. Over Gibeon - That is, in that place and posture in which now it stands towards, and looks upon Gibeon. Let it not go down lower, and by degrees, out of the sight of Gibeon. It may seem, that the sun, was declining, and Joshua perceiving that his work was great and long, and his time but short, begs of God the lengthening out of the day, and that the sun and moon might stop their course, He mentions two places, Gibeon and Ajalon, not as if the sun stood over the one and the moon over the other, which is absurd especially these places being so near the one to the other; but partly to vary the phrase, as is common in poetical passages; partly because he was in his march in the pursuit of his enemies, to pass from Gibeon to Ajalon; and he begs that he may have the help of longer light to pursue them, and to that end that the sun might stand still, and the moon also; not that he needed the moon's light, but because it was fit, either that both sun and moon should go, or that both should stand still to prevent disorder in the heavenly bodies. The prayer is thus exprest with authority, because it was not an ordinary prayer, but the prayer of a prophet, divinely inspired at this very time for this purpose. And yet it intimates to us the prevalency of prayer in general, and may mind us of that honour put upon prayer, concerning the work of my hands command you me.
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?