וּשְׁמַרְתֶּ֣ם לַעֲשׂ֔וֹת כַּאֲשֶׁ֥ר צִוָּ֛ה יְהוָ֥ה אֱלֹהֵיכֶ֖ם אֶתְכֶ֑ם לֹ֥א תָסֻ֖רוּ יָמִ֥ין וּשְׂמֹֽאל׃
און איר זאָלט היטן צו טאָן אַזױ װי ה׳ אײַער גאָט האָט אײַך באַפֿױלן, איר זאָלט אײַך ניט אָפּקערן רעכטס אָדער לינקס.
Ibn Ezra
Now observe to practice The purpose of this seemingly redundant verse is to add the injunction do not turn aside to the right or the left .
Ramban
YE SHALL OBSERVE TO DO, THEREFORE, AS THE ETERNAL YOUR G-D COMMANDED YOU. This warning alludes to the Ten Commandments which G-d Himself communicated to them directly, and afterwards he admonished them with respect to the rest of the commandments which they said they [preferred to] hear from Moses and [they promised] to perform them. Therefore, he said, And this is the commandment, the statutes, and the ordinances which the Eternal your G-d commanded to teach you,200Further, 6:1. since G-d agreed to your request and He commanded me to teach you the entire balance of the Torah, that ye may live,201Verse 30. that He may fulfill the number of your days,202See Exodus 23:26. and that it may be well with you201Verse 30. with all the good that He promised you in the section of If ye walk in My statutes203Leviticus 26:3. and other sections besides; and that ye may prolong your days in the Land201Verse 30. that you will inherit for your children forever.
Sforno
ושמרתם לעשות, seeing that things have developed in this fashion it is no more than a minimal request that you observe and carry out G’d’s commandments,