The Sforno concludes that this is “just as was intended regarding the Shabbos of Creation when the Torah... · לב אהרן - ויקרא
לב אהרן - ויקראוהנה, הספורנו סיים, כי זה "כמו שכיוֵן בשבת בראשית באמרו 'שבת לה' אלהיך'". והיינו, שענין זה שנתבאר, כי עיקר תכלית השביעית הוא להיות 'שבת לה'', הוא כדרך שמצינו ביום השבת, שנאמר בו "שבת לה' אלקיך". וכלומר, שהשביתה בו אינה לצורך מנוחת הגוף ועידונו בתענוגי בשרים, אלא להיות פנוי להשגת מעלות רוחניות בתורה ובעבודת ה'.
The Sforno concludes that this is “just as was intended regarding the Shabbos of Creation when the Torah said, ‘A Shabbos for Hashem your God.’” In other words, the principle explained here—that the seventh year’s essential purpose is to be “a Shabbos for Hashem”—parallels the purpose of the weekly Shabbos, regarding which the Torah states, “A Shabbos for Hashem your God” (Shemos 20:10). Its rest is not intended merely for bodily relaxation or indulgence in physical pleasures. Rather, it is intended to free a person to attain spiritual elevation through Torah and *avodas Hashem*.
And thus, the Sforno concluded that this is “as he intended regarding the Sabbath of Creation, when he said, ‘a sabbath to the Lord your God.’” That is to say, the point explained here—that the essential purpose of the seventh year is for it to be “a sabbath to the Lord”—is like what we find regarding the Sabbath day, concerning which it is said, “a sabbath to the Lord your God.” In other words, the rest on that day is not for the sake of bodily repose and indulgence in physical pleasures, but rather in order to be free for attaining spiritual excellence in Torah and in the service of God.
זה לשון הטור (אורח חיים סימן רצ) בשם המדרש, אמרה תורה לפני הקב"ה: רבונו של עולם, כשיכנסו ישראל לארץ, זה רץ לכרמו וזה רץ לשדהו, ואני מה תהא עלי? אמר לה: יש לי זוג שאני מזווג לך, ושבת שמו, שהם בטלים ממלאכתם ויכולין לעסוק בך, ע"כ. וכן איתא בירושלמי (שבת פרק טו הלכה ג): "רבי ברכיה בשם רבי חייא בר בא, לא ניתנו שבתות וימים טובים אלא לעסוק בהן בדברי תורה".
The Tur cites the following Midrash: > The Torah said before HaKadosh Baruch Hu: “Master of the Universe, when Bnei Yisrael enter the Land, one will run to his vineyard and another will run to his field. What will become of me?” He replied: “I have a partner whom I shall pair with you, and its name is Shabbos. On that day they are free from their labor and can engage in you” (Tur, Orach Chaim 290). The Yerushalmi similarly teaches: > Rabbi Berechyah said in the name of Rabbi Chiya bar Ba: “Shabbosos and Yamim Tovim were given only so that people might occupy themselves with words of Torah” (Yerushalmi Shabbos 15:3).
This is the wording of the Tur (Orach Chaim, siman 290), in the name of the Midrash: “The Torah said before the Holy One, blessed be He: Master of the universe, when Israel enters the Land, this one will run to his vineyard and that one will run to his field; what will become of me? He said to her: I have a mate with which I will pair you, and its name is Shabbat, for they will be idle from their labor and will be able to engage in you.” So too it is stated in the Jerusalem Talmud (Shabbat, chapter 15, halakhah 3): “Rabbi Berekhiah בשם Rabbi Ḥiyya bar Ba said: Shabbatot and festivals were given only so that one should occupy oneself in them with words of Torah.”