Joshua1:8

לֹא־יָמוּשׁ סֵפֶר הַתּוֹרָה הַזֶּה מִפִּיךָ וְהָגִיתָ בּוֹ יוֹמָם וָלַיְלָה לְמַעַן תִּשְׁמֹר לַעֲשׂוֹת כְּכָל־הַכָּתוּב בּוֹ כִּי־אָז תַּצְלִיחַ אֶת־דְּרָכֶךָ וְאָז תַּשְׂכִּיל׃

This book of the Torah shall not depart from your mouth, and you shall meditate on it day and night, so that you may keep and do all that is written in it, for then you will make your way prosper, and then you will act wisely.

Joshua 1:8

לֹא־יָמוּשׁ סֵפֶר הַתּוֹרָה

Yehoshua / Joshua 1:8 · Remez

Joshua 1:8

לֹא־יָמוּשׁ סֵפֶר הַתּוֹרָה הַזֶּה מִפִּיךָ וְהָגִיתָ בּוֹ יוֹמָם וָלַיְלָה לְמַעַן תִּשְׁמֹר לַעֲשׂוֹת כְּכָל־הַכָּתוּב בּוֹ כִּי־אָז תַּצְלִיחַ אֶת־דְּרָכֶךָ וְאָז תַּשְׂכִּיל׃

This book of the Torah shall not depart from your mouth, and you shall meditate on it day and night, so that you may keep and do all that is written in it, for then you will make your way prosper, and then you will act wisely.

Remez רֶמֶז

Reading as if doing it all

No one can fulfill every commandment of the Torah himself. The Chida sees in our verse a hint of how a person can still fulfill them.

The Chida: a person is obliged to fulfill all six hundred and thirteen commandments, and many of them he cannot fulfill. The verse hints: whoever reads the Torah constantly is credited as if he keeps and does all that is written in it. The Radak: in the word "your way" (דְּרָכֶךָ) the plural letter yod (י) is not written.

How Chomat Anakh (Chida) and Radak explain it

Chomat Anakh (Chida) So that you may keep and do all that is written in it

It may be [explained] by what the early [sages] examined: a person is obliged to fulfill all six hundred and thirteen (תרי״ג) commandments, for they are the measure of [his] stature. And there are many commandments that he cannot fulfill. And they, of blessed memory, wrote that when he engages in Torah, it is credited to him as if he fulfilled them, as it says: "whoever engages in the Torah of the burnt offering" and so on. And also: that he accept everything upon himself, and when a commandment comes before him he fulfills it and fulfills all that is within his power.

And this is what [the verse] hints: "This book of the Torah shall not depart from your mouth, and you shall meditate on it day and night, so that you may keep and do." For when you read the Torah constantly, it will be credited to you as if you keep and do all that is written. Or otherwise: [the verse] hints that study is great, for it leads to deed. And this is: "This book of the Torah shall not depart" and "so that you may keep": that you wait to do all that is written, and with this readiness [the Eternal] will see and accept [it] as if you fulfilled everything.

And the commentators explained: "This book of the Torah shall not depart from your mouth" is the Written Torah. "And you shall meditate on it" is the Oral Torah, for understanding it needs both speech and thought. And the word "meditate" (וְהָגִיתָ) includes speech, as in "and my tongue shall speak", and thought, as in "and the meditation of my heart is understanding". "So that you may keep" is the fulfillment of the commandments. End of their words.

Radak You will make your way prosper

[In the word דְּרָכֶךָ] the plural letter yod (י) is missing from the writing. We wrote about such words in the book Michlol, in its part on grammar. And it says תַּצְלִיחַ, "you will make prosper", a verb that passes over to another [word]. And although success is not in a person's hand, since he keeps the commandments of the Eternal and as their reward success will come to him, it is as if he makes his own way prosper. Or תַּצְלִיחַ is a verb that does not pass over to another [word], and then "your ways" means "in your ways".

Takeaway

The Chida himself calls his explanation a hint: "and this is what it hints" (וְזֶה רֶמֶז).
The scroll has דְּרָכֶךָ, "your way", while the vowels point to the plural: "your ways". The Radak notes that the plural letter yod (י) is not written here.