This book of the law must not leave your mouth; meditate on it day and night, so that you are careful to act according to everything written in it. Then you will prosper in your way, and then you will succeed.
In context
6Be strong and courageous, for you will give this people the land I swore to their fathers to give them, as their inheritance. 7Only be strong and very courageous, careful to act according to all the law my servant Moses commanded you. Do not turn from it to the right or to the left, so that you may succeed wherever you go. 8This book of the law must not leave your mouth; meditate on it day and night, so that you are careful to act according to everything written in it. Then you will prosper in your way, and then you will succeed. 9Have I not commanded you? Be strong and courageous. Do not be terrified or discouraged, for Yahweh your God is with you wherever you go.” 10Then Joshua commanded the officers of the people: