Devarim31:21

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

And when many evils and troubles befall it, this song shall testify before it as a witness, for it will not be forgotten from the mouths of its offspring. For I know its inclination, how it acts already today, before I have brought it into the land which I swore."

Devarim 31:21

וְהָיָה כִּי־תִמְצֶאןָ אֹתוֹ

Devarim / Deuteronomy 31:21

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

And when many evils and troubles befall it, this song shall testify before it as a witness, for it will not be forgotten from the mouths of its offspring. For I know its inclination, how it acts already today, before I have brought it into the land which I swore."

Pshat פְּשָׁט

A song that will not be forgotten

Rashi: in the song the Eternal warned in advance of all that would happen, and the verse promises that the Torah will never be wholly forgotten by the descendants. Sforno: the people await the land not for service but to sate their desires, and trouble will come from this. Chizkuni: the song will not be forgotten because after the rebukes there is comfort at its end.

How Rashi, Sforno, and Chizkuni explain it

Remez רֶמֶז

Master of one's mouth

Sefat Emet: it says "from the mouths", and the mouth must be guarded, that is, the inner breath of the heart must be guarded. So the Oral Torah (תּוֹרָה שֶׁבְּעַל פֶּה) is the Torah of one who is "master of his mouth" (בַּעַל פֶּה), who rules his spirit. And the Written Torah is what is written on the tablet of the heart. Minchat Shai: in the last word "I swore" (נִשְׁבָּעְתִּי), Ben Asher puts patach under the letter bet (ב).

How Sefat Emet and Minchat Shai explain it

Drash דְּרָשׁ

A pumpkin is known by its shoot

Talmud, Rabbi Shimon bar Yochai: the Torah will not be forgotten by Israel, for it says "will not be forgotten". And the prophet's words "they will seek and not find" mean they will not find a clear law in one place. Lekach Tov: the inclination shows already in the wilderness, all the more after plenty, as people say: a pumpkin is known by its shoot.

How Ein Yaakov and Midrash Lekach Tov explain it

Sod סוֹד

A witness in the dark

Sefat Emet: when the hiding itself is hidden, the people say "my Almighty is not among me". The rabbi of Peshischa taught that this is a sin: one must believe the Eternal is with us in trouble. The Torah is light, and darkness does not put it out. The very fact that the Torah is not forgotten testifies that the Shechinah is in Israel, and the light of Torah in each heart testifies to its closeness.

How Sefat Emet explain it