John Gill's Bible Commentary Ver. 8. This book of the law shall not depart out of thy mouth , etc.] He was often to read it, frequently repeat it, and speak of it, to refresh his own memory with it, and the memory of those about him. Jarchi restrains it to the book of Deuteronomy now before him: but thou shalt meditate therein day and night ; whenever he had any leisure from the important business of his office, whether by day or night, (see Psalm 1:2); that thou mayest observe to do according to all that is written therein ; which frequent speaking of it, and constant meditation on it, would lead unto: for then thou shalt make thy way prosperous, and then thou shalt have good success ; in his wars with the Canaanites.
Matthew Henry Commentary
Verses 5-9 - Joshua is to make the law of God his rule. He is charged to meditat therein day and night, that he might understand it. Whatever affairs of this world we have to mind, we must not neglect the one thing needful All his orders to the people, and his judgments, must be according to the law of God. Joshua must himself be under command; no man's dignit or dominion sets him above the law of God. He is to encourage himsel with the promise and presence of God. Let not the sense of thine ow infirmities dishearten thee; God is all-sufficient. I have commanded called, and commissioned thee to do it, and will be sure to bear the out in it. When we are in the way of duty, we have reason to be stron and very bold. Our Lord Jesus, as Joshua here, was borne up under his sufferings by a regard to the will of God, and the commandment from his Father.
Original Hebrew לא3808 ימושׁ4185 ספר5612 התורה8451 הזה2088 מפיך6310 והגית1897 בו יומם3119 ולילה3915 למען4616 תשׁמר8104 לעשׂות6213 ככל3605 הכתוב3789 בו כי3588 אז227 תצליח6743 את853 דרכך1870 ואז227 תשׂכיל׃7919