This religious solemnity of which we have here an account comes in somewhat surprisingly in the midst of the history of the wars of Canaan. After the taking of Jericho and Ai, we should have expected that the next news would be of their taking possession of the country, the pushing on of their victories in other cities, and the carrying of the war into the bowels of the nation, now that they had made themselves masters of these frontier towns. But here a scene opens of quite another nature; the camp of Israel is drawn out into the field, not to engage the enemy, but to offer sacrifice, to hear the law read, and to say Amen to the blessings and the curses. Some think this was not done till after some of the following victories were obtained which were read of, ch. x. and xi. But it should seem by the maps that Shechem (near to which these two mountains Gerizim and Ebal were) was not so far off from Ai but that when they had taken that they might penetrate into the country as far as those two mountains, and therefore I would not willingly admit a transposition of the story; and the rather because, as it comes in here, it is a remarkable instance, 1. Of the zeal of Israel for the service of God and for his honour. Though never was war more honourable, more pleasant, or more gainful, nor ever was war more sure of victory, or more necessary to a settlement (for they had neither houses nor lands of their own till they had won them by the sword, no, not Joshua himself), yet all the business of the war shall stand still, while they make a long march to the place appointed, and there attend this solemnity. God appointed them to do this when they should have got over Jordan, and they did it as soon as possibly they could, though they might have had a colourable pretence to put it off. Note, We must not think to defer our covenanting with God till we are settled in the world, or must any business put us by from minding and pursuing the one thing needful. The way to prosper is to begin with God, Matt. vi. 33. 2. It is an instance of the care of God concerning his faithful servants and worshippers. Though they were in an enemy's country, as yet unconquered, yet in the service of God they were safe, as Jacob when in this very country he was going to Beth-el to pay his vows: the terror of God was upon the cities round about, Gen. xxxv. 5. Note, When we are in the way of duty God takes us under his special protection.