Matthew Henry’s Concise Commentary
22:1-9 Joshua dismisses the tribes with good counsel. Those who have the commandment have it in vain, unless they do the commandment; and it will not be done aright unless we take diligent heed. In particular to love the Lord our God, as the best of beings, and the best of friends; and as far as that principle rules in the heart, there will be constant care and endeavour to walk in his ways, even those that are narrow and up-hill.
In every instance to keep his commandments. At all times, and in all conditions, with purpose of heart to cleave unto the Lord, and to serve him and his kingdom among men, with all our heart, and with all our soul. This good counsel is given to all; may God give us grace to take it!