Devarim7:12

וְהָיָה עֵקֶב תִּשְׁמְעוּן אֵת הַמִּשְׁפָּטִים הָאֵלֶּה וּשְׁמַרְתֶּם וַעֲשִׂיתֶם אֹתָם וְשָׁמַר יְהוָה אֱלֹהֶיךָ לְךָ אֶת־הַבְּרִית וְאֶת־הַחֶסֶד אֲשֶׁר נִשְׁבַּע לַאֲבֹתֶיךָ׃

And it shall be, because you listen to these judgements, and keep them and do them, that the Eternal your Almighty will keep for you the covenant and the kindness which He swore to your fathers.

Devarim 7:12

וְהָיָה עֵקֶב תִּשְׁמְעוּן

Devarim / Deuteronomy 7:12 · Pshat

Devarim 7:12

וְהָיָה עֵקֶב תִּשְׁמְעוּן אֵת הַמִּשְׁפָּטִים הָאֵלֶּה וּשְׁמַרְתֶּם וַעֲשִׂיתֶם אֹתָם וְשָׁמַר יְהוָה אֱלֹהֶיךָ לְךָ אֶת־הַבְּרִית וְאֶת־הַחֶסֶד אֲשֶׁר נִשְׁבַּע לַאֲבֹתֶיךָ׃

And it shall be, because you listen to these judgements, and keep them and do them, that the Eternal your Almighty will keep for you the covenant and the kindness which He swore to your fathers.

Pshat פְּשָׁט

Commandments under the heel

We weigh big decisions, but small things we do on the run without noticing. The portion opens with a word that means both "because" and "heel".

Rashi: the verse speaks of the light commandments that a person tramples with his heels: if you listen to them too, the Eternal will keep His promise. Ibn Ezra: the word means "at the end", the reward comes at the end. Sforno: do it out of love, not for a reward, and for that He will keep the covenant and the kindness. Rashbam: the Eternal keeps the promise to the fathers for a worthy generation.

How Rashi, Ibn Ezra, Sforno, and Rashbam explain it

Rashi And it shall be, because you listen

If the light commandments, which a person tramples with his heels, you will listen to.

Rashi And the Eternal will keep

He will keep His promise for you.

Ibn Ezra Because (עֵקֶב)

As in "forever, to the end (עֵקֶב)" (Tehillim / Psalms 119:112): the reward is at the end. And the meaning of the first verse, "who keeps the covenant" (Devarim / Deuteronomy 7:9), is this: He kept the covenant with Avraham (Abraham), and if you are among those who love Him, He will keep the covenant further. And if you are among those who love Him, "He will love you, and bless you, and multiply you" (Devarim / Deuteronomy 7:13). That explains what the covenant and the kindness are.

Sforno And it shall be, because you listen

The King commanded all this so that you would merit that He keep for you the covenant and the kindness. And that will be if you keep them "today, to do them" (Devarim / Deuteronomy 7:11) out of love, not for the sake of a reward. For that He will keep the covenant and the kindness for you.

Rashbam And the Eternal will keep for you

For a worthy generation He keeps the promise of kindness given to the fathers. And if you do not keep the commandments, He will keep it not for you but for another generation.

Takeaway

The word עֵקֶב means "because", and it has the same letters as the word "heel" (עָקֵב). Rashi reads both in it.
In Tehillim / Psalms 119:112 "לְעוֹלָם עֵקֶב" means "forever, to the very end", so Ibn Ezra takes עֵקֶב as "at the end".
The verse before (Devarim / Deuteronomy 7:11) ends with the words "today, to do them". Sforno reads: today, do it out of love, and the reward will come by itself.