(א) וַיַּקְהֵ֣ל מֹשֶׁ֗ה אֶֽת־כָּל־עֲדַ֛ת בְּנֵ֥י יִשְׂרָאֵ֖ל וַיֹּ֣אמֶר אֲלֵהֶ֑ם אֵ֚לֶּה הַדְּבָרִ֔ים אֲשֶׁר־צִוָּ֥ה יי לַעֲשֹׂ֥ת אֹתָֽם׃
(ב) שֵׁ֣שֶׁת יָמִים֮ תֵּעָשֶׂ֣ה מְלָאכָה֒ וּבַיּ֣וֹם הַשְּׁבִיעִ֗י יִהְיֶ֨ה לָכֶ֥ם קֹ֛דֶשׁ שַׁבַּ֥ת שַׁבָּת֖וֹן לַיי כָּל־הָעֹשֶׂ֥ה ב֛וֹ מְלָאכָ֖ה יוּמָֽת׃
(א) ויקהל משה למה נאמר לפי שהוא אומר (כ"ה ח') ועשו לי מקדש שומיע אני בין בחול בין בשבת מה אני מקיים מחלליה מות יומת (ל"א י"ד) בשאר כל המלאכות חוץ ממלאכת המשכן או אף במלאכת משכן ומה אני מקיים ועשו לי מקדש בשאר כל הימים חוץ מן השבת או אף בשבת והדין נותן הואיל ועבודה קרויה עבודה ומכשירי עבודה קרויין עבודה אם למדתי לעבודה שהיא דוחה את השבת קל וחומר למכשירי עבודה שדוחין את השבת ועוד קל וחומר מה עבודה שאינה באה אלא מכוח מכשירין הרי היא דוחה את השבת מכשירי עבורה שאין עבורה באה אלא מכוחן מנין שאם נפגמה קרנו של מזבח או שנפגמה [הסכין] שומיע אני יתקנם בשבת ת"ל ויקהל משה את כל עדת בני ישראל ויאמר אליהם בחול ולא בשבת: ויאמר אליהם אלה הדברים. רבי אומר להביא את ארבעים מלאכות חסר אחת שנאמרו לו למשה על פה:
ששת ימים תעשה מלאכה וביום השביעי, שבת שבתון ליי כשם שהמשכן לה׳ כך שבת ליי, ואין לדחותה בשביל מלאכת המשכן.
There are two connected topics I'd like to focus on:
1) Why is constructing the Mikdash/Mishkan forbidden on Shabbos but the actual Avoda is permitted?
2) What is the link between Shabbos and the Mikdash/Mishkan as stressed by the pesukim? Furthermore, if you hold that the source of the 39 melachos is the Mishkan, it seems like the ultimate issur of Shabbos is not to build a house for Hashem!
ששת ימים וגו'. זאת שצוה הק' לעשות וביום השביעי יהיה לכם קודש ולא תעשה בו אפילו מלאכת הקודש כל העושה בו מלאכה יומת אע"פ שהיא מלאכת שמים:
הקדים להם אזהרת שבת כו'. ואם תאמר, מהיכי תיתי לן שיהא מלאכת המשכן דוחה שבת, הרי שבת עשה ולא תעשה, ומלאכת המשכן עשה, וקיימא לן (יבמות ה. ) דלא אתי עשה ודוחה עשה ולא תעשה.... ולי נראה דהווה אמינא לא אסרה התורה אלא מלאכה של אדם, דכתיב (ר' לעיל כג, יב) "ששת ימים תעשה מלאכתיך וגו'", ומשמע מלאכת שמים הוי שרי, לכך צריך קרא.
The Bechor Shor and the Maharal seem to further strengthen our first question. If meleches shamayim (whether defined geographically or by purpose) is allowed, isn't construction of the Mikdash the ultimate meleches shamayim?
Perhaps an answer is that the idea of meleches shamayim is a chisaron in meleches machsheves as there is no purpose in this world of the action. E.g. the avoda is meleches shamayim as its only purpose is to serve Hashem and therefore it isn't meleches machseves. Construction of the mishkan is still meleches machsheves as it has a purpose in this world- to enable us to serve Hashem.
הנה בפרשת תשא נאמר שבת אחר מלאכת המשכן ובפרשה זו נאמרה להיפוך מלאכת המשכן אחר שבת וכבר עמד ע"ז בספר חסידים סימן תקס"ח. ויתכן, דהנה מלאכת המשכן אינו דומה למכשירי עבודה דלא דחו שבת משום דמכשירין אפשר לעשותן מערב שבת, משא"כ המשכן אי אפשר להיות בלא שבת, לכן הוי אמינא דדחי שבת. ויתכן, דבעבודה הותרה שבת משום דבמשכן הלא שורה הכבוד והשכינה מצויה שם, והשבת עדות לבאי עולם שהשי"ת ברא העולם וחידשו מהאפס המוחלט והעבודה מורה על השגחת הש"י בפרטיות ומקיימו בכל עת ורגע ברצונו יתברך, וכל העולם הוא מתהווה ומתחדש בכל עת ורגע מרצונו יתברך.... לכן אף מכשירים כמו קליית העומר וחבטתו ואפיית שתי הלחם [למ"ד דנפסל בלינה ותנור מקדש] דוחין שבת, אבל בנין המשכן והמקדש לא דחי שבת, דכ"ז דלא נבנה המקדש אין השכינה שורה בישראל, ובאמצעיות משכן ומקדש השכינה שורה בישראל, וכ"ז שאין שכינה שרויה הלא לא נדחה שבת, אבל קודם שעשו בני ישראל העגל הלא היה התנאי בכ"מ אשר אזכיר את שמי אבוא אליך וברכתיך, והשכינה היתה שורה בישראל שלא באמצעיות המשכן, רק הוא הי' מקום מיוחד לעבודה ולהשראת השכינה, אבל לא באופן שעל ידו יזכו לראות בכבוד השי"ת, כי בני ישראל בעצמם הם היו המעון להשי"ת והיכל ד' המה, אז היה בנין המשכן כאחד מפרטי צורך העבודה אחרי בנין המשכן אחר העגל, שכיון שהשראת השכינה וכבוד השי"ת חופף על בנ"י קודם בנין המשכן, א"כ תו עבודה וכל צרכיה אף בנין המשכן דחי שבת, לכן נאמר משכן קודם לשבת, אבל אחר שחטאו בעגל הלא לא היו ראוים לכבוד השי"ת רק באמצעיות המשכן, א"כ לא נדחית שבת בבנין המשכן, לכן נאמר שבת קודם...
To summarise, you can only do melacha on Shabbos if the Shechina is actually present. Since it is present in the mishkan, melacha for the avoda is mutar. But when constructing the mishkan in the post egel world, the Shechina is not yet present so no chillul Shabbos is allowed.
(א) יהיה לכם קודש. לכם קודש ולמקום חול ר"ל לענין הקרבת קרבנות שהן צורך גבוה מותרים להעשות בשבת... ולכאורה קשה לפי דרשה זו למה באמת לא תדחה בנין ביהמ"ק את השבת כיון דגם הוא צורך גבוה, וצ"ל דשאני קרבנות דקבוע להם זמן ובביטולם מבטלין מ"ע משא"כ בנין ביהמ"ק דלא קביע לה זמן ויום מוגבל. .
(מכילתא)
So according to the Torah Temimah, there is nothing unique about the Avoda overriding Shabbos. It is the same as Bris Milah, Korban Pesach, Yom Kippur and there are more examples. Any mitzvas aseh with a fixed time overrides Shabbos.
However, it is slightly different as there are specific korbanos for Shabbos, e.g. the mussaf, so its not like the other cases where a general mitzvah happened to fall on Shabbos, rather the Torah explicitly wants us to do a special avoda on Shabbos.
(ג) כְּשֶׁעוֹשִׂים דְּבָרִים הָאֵלּוּ אֵין עוֹשִׂין אוֹתָן לֹא עַל יְדֵי נָכְרִים וְלֹא עַל יְדֵי קְטַנִּים וְלֹא עַל יְדֵי עֲבָדִים וְלֹא עַל יְדֵי נָשִׁים כְּדֵי שֶׁלֹּא תְּהֵא שַׁבָּת קַלָּה בְּעֵינֵיהֶם. אֶלָּא עַל יְדֵי גְּדוֹלֵי יִשְׂרָאֵל וְחַכְמֵיהֶם. וְאָסוּר לְהִתְמַהְמֵהַּ בְּחִלּוּל שַׁבָּת לְחוֹלֶה שֶׁיֵּשׁ בּוֹ סַכָּנָה שֶׁנֶּאֱמַר (ויקרא יח ה) "אֲשֶׁר יַעֲשֶׂה אוֹתָם הָאָדָם וָחַי בָּהֶם" וְלֹא שֶׁיָּמוּת בָּהֶם. הָא לָמַדְתָּ שֶׁאֵין מִשְׁפְּטֵי הַתּוֹרָה נְקָמָה בָּעוֹלָם אֶלָּא רַחֲמִים וְחֶסֶד וְשָׁלוֹם בָּעוֹלָם. וְאִלּוּ הָאֶפִּיקוֹרוֹסִים שֶׁאוֹמְרִים שֶׁזֶּה חִלּוּל שַׁבָּת וְאָסוּר עֲלֵיהֶן הַכָּתוּב אוֹמֵר (יחזקאל כ כה) "גַּם אֲנִי נָתַתִּי לָהֶם חֻקִּים לֹא טוֹבִים וּמִשְׁפָּטִים לֹא יִחְיוּ בָּהֶם":
(3) These things should not be performed by non-Jews, minors, servants or women, lest they consider the Sabbath a light matter; instead, scholars and sages of Israel are to carry them out. One must not put off the desecration of the Sabbath in treating a serious patient, as it is written: "If a man obeys them he shall live by them" (Leviticus 18:5), but he must not die by them. From this you may infer that the laws of the Torah are not meant to wreak vengeance upon the world, but to bestow on it mercy, kindliness, and peace.— —
Another possibility is that the avoda isn't chillul Shabbos, just like saving a choleh isn't chillul Shabbos. Just the rules of Shabbos don't cover this case and never have. They aren't two competing principles, rather Shabbos just doesn't apply to the avoda. Unlike cosntruction of the mishkan which was never designated for Shabbos.
Now we've distinguished between the avoda and the construction of the Mishkan and explained why the avoda overrides Shabbos, let's give a few possible explanations why Shabbos overrides the construction of the Mishkan.
ששת ימים תעשה מלאכה. לעיל בפ׳ תשא כתיב יעשה מלאכה וא״כ משמש על עושי המלאכה שמהם יעשה המלאכה. אבל כאן כתיב תעשה וקאי על המלאכה בלשון נקבה וא״כ ניתן להבין שאפילו להתחיל במלאכה ויגמר מעצמו בש״ק דמותר ע״פ ד״ת מכ״מ במעשה המשכן אסור שאין כבוד המשכן שיתחלל קדושת שבת על ידה אפילו בלי עבירה...
The Netziv says that the Torah is treating meleches hamishkan more stringently than any other melacha so that starting a meleleches hamishkan before Shabbos that will complete by itself on Shabbos is forbidden. Two points stood out for me:
1) The issue is that Shabbos will be desecrated by melacha happening on it, even if a Jew hasn't actually broken Shabbos. The focus is on the very nature of Shabbos, not on the halachic obligations of a Jew towards Shabbos.
2) I would've thought that meleches hamishkan contradicting Shabbos is enough of a reason to forbid it. The Netziv adds that being mechalel Shabbos is a lack of kavod for the mishkan. Why is this necessary? (Don't have an answer.)
שבת שבתון לד' כל העושה בו מלאכה יומת. הנה בכ"מ דכתיב מיתה כתיב מות יומת, לבד ממקומות יוצאים מן הכלל, וכתיב השור יסקל וגם בעליו יומת, וזה מיתה בידי שמים כדדרש במכילתא.... והא דלא כתיבא כאן מות יומת נראה דעל מלאכת המשכן קאי, וטרם שהוקם המשכן לא היה נוהג דין דיני נפשות שאין כהן ואין משפט כדדריש פרק ד' מיתות (סנהדרין נ"ב ע"ב) ואז לא היה עדיין המשכן ולא היה אהרן כהן ורק מיתתו ביד"ש.
The Meshech Chachma is also pointing out that the punishment here is bidei shamayim, not by Beis Din.
The point we can see from the pasuk, the Netziv and the Meshech Chachma is that this pasuk isn't addressing the issur of breaking Shabbos, its rather describing the nature of Shabbos.
The pasuk doesn't say 'keep the Shabbos', it merely gives the natural consequences for breaking it- desecration of the day and death. Melacha on Shabbos is also an issur but the focus here is on the desecration of Shabbos. That is why we always use language of 'shomer shabbos' and 'chillul Shabbos'. Eating chametz on Pesach is an issur but you haven't been mechalel pesach!
The difference must be that Shabbos is essentially holy and that holiness requires a cessation of work.
Kedushas Shabbos creates the issur melacha and the death penalty/consequence, not the other way round!
So the pasuk is emphasising that the inherent kedusha of Shabbos overrides the inherent kedusha of the Mishkan. Why?
כדר' חנינא דאמר ר' חנינא בואו ונצא לקראת כלה מלכתא ואמרי לה לקראת שבת כלה מלכתא רבי ינאי מתעטף וקאי ואמר בואי כלה בואי כלה:
The link between Shabbos and Mikdash is that they are both kadosh, Shabbos is kedushas hazman and Mikdash is kedushas hamakom.
The eternal, omnipresent G-d is metzamtzem himself to dwell amongst human beings, in time on Shabbos and in space in the Mikdash. This is clearly why the Torah links them so many times.
Why therefore does Shabbos take precedence over Mikdash?
One difference is that the holiness of Shabbos was fixed by Hashem, the holiness of the Mikdash is created by us.
Halakhic Man, p. 46
Holiness, according to the outlook of Halakhah, denotes the appearance of a mysterious transcendence in the midst of our concrete world, the “descent” of God, whom no thought can grasp, onto Mount Sinai, the bending down of a hidden and concealed world and lowering it onto the face of reality.... Holiness is created by man, by flesh and blood. Through the power of our mouths, through verbal sanctification alone, we can create holy offerings of the Temple treasury and holy offerings for the altar. The land of Israel became holy through conquest, Jerusalem and the Temple courts – through bringing two loaves of thanksgiving… It is man who sanctifies space and makes a sanctuary for his Creator.
תניא נמי הכי לדעת כי אני ה׳ מקדשכם אמר לו הקדוש ברוך הוא למשה מתנה טובה יש לי בבית גנזי ושבת שמה ואני מבקש ליתנה לישראל לך והודיעם.
Shabbos seems to be an exception to R Soloveitchik's rule that kedusha is man-made. Definitely man has some role in Shabbos but ultimately it is Hashem who sanctified the day. I think in the kabbalah, Shabbos is referred to as itaruta delayla.
In the tension between Shabbos and Mikdash, we see the answer to the question of who needs who more? Does Hashem need us or do we need him? Is it more important that he built a home for us or that we build a home for him?
The Torah tells us that kedushas shabbos is greater than kedushas mikdash- the home Hashem builds for us is more important than the home we build for Hashem.
On Shabbos, we are not to build a house for Hashem but rather enjoy his world and his shechina without making any creative changes to his world.
There is also a second key difference between Shabbos and Mikdash. The kedusha of the Mikdash exists even when the physical mikdash is destroyed. This is because the revelation of the shechina in the Mikdash was supernatural and transcendental. Mikdash was full of miracles.
On the other hand, Shabbos demonstrates Hashem's presence within nature. Shabbos is our testimony that Hashem created all of nature and is therefore revealed within it. One can experience Hashem through nature. Shabbos is the epitome of nature at rest with man forbidden from making any creative changes to nature. Rather one is supposed to take a step back, like R Yannai, and experience Hashem's presence within the natural order.
(ב) וְהֵיאַךְ הִיא הַדֶּרֶךְ לְאַהֲבָתוֹ וְיִרְאָתוֹ. בְּשָׁעָה שֶׁיִּתְבּוֹנֵן הָאָדָם בְּמַעֲשָׂיו וּבְרוּאָיו הַנִּפְלָאִים הַגְּדוֹלִים וְיִרְאֶה מֵהֶן חָכְמָתוֹ שֶׁאֵין לָהּ עֵרֶךְ וְלֹא קֵץ מִיָּד הוּא אוֹהֵב וּמְשַׁבֵּחַ וּמְפָאֵר וּמִתְאַוֶּה תַּאֲוָה גְּדוֹלָה לֵידַע הַשֵּׁם הַגָּדוֹל. כְּמוֹ שֶׁאָמַר דָּוִד (תהילים מב ג) "צָמְאָה נַפְשִׁי לֵאלֹקִים לְאֵל חָי". וּכְשֶׁמְּחַשֵּׁב בַּדְּבָרִים הָאֵלּוּ עַצְמָן מִיָּד הוּא נִרְתָּע לַאֲחוֹרָיו וִיפַחֵד וְיוֹדֵעַ שֶׁהוּא בְּרִיָּה קְטַנָּה שְׁפָלָה אֲפֵלָה עוֹמֶדֶת בְּדַעַת קַלָּה מְעוּטָה לִפְנֵי תְּמִים דֵּעוֹת. כְּמוֹ שֶׁאָמַר דָּוִד (תהילים ח ד) "כִּי אֶרְאֶה שָׁמֶיךָ מַעֲשֵׂי אֶצְבְּעֹתֶיךָ" (תהילים ח ה) "מָה אֱנוֹשׁ כִּי תִזְכְּרֶנּוּ". וּלְפִי הַדְּבָרִים הָאֵלּוּ אֲנִי מְבָאֵר כְּלָלִים גְּדוֹלִים מִמַּעֲשֵׂה רִבּוֹן הָעוֹלָמִים כְּדֵי שֶׁיִּהְיוּ פֶּתַח לַמֵּבִין לֶאֱהֹב אֶת הַשֵּׁם. כְּמוֹ שֶׁאָמְרוּ חֲכָמִים בְּעִנְיַן אַהֲבָה שֶׁמִּתּוֹךְ כָּךְ אַתָּה מַכִּיר אֶת מִי שֶׁאָמַר וְהָיָה הָעוֹלָם:
(2) But how may one discover the way to love and fear Him? When man will reflect concerning His works, and His great and wonderful creatures,1But he must make thorough study. C. and will behold through them His wonderful, matchless and infinite wisdom, he will spontaneously be filled with love, praise and exaltation and become possessed of a great longing to know the Great Name, even as David said: "My soul thirsts for God, for the living God," (Ps. 42,2); and when he will think of all these matters,2Sifre, Deut. 6.5; Shabbat, 30–31. G. he will be taken aback in a moment and stricken with awe, and realize that he is an infinitesimal creature, humble and dark, standing with an insignificant and slight knowledge in the presence of the All Wise, as David said: "For when I see Thy heavens, the wonderful works of Thy fingers, of what use is man that Thou mayest remember him?" (Ibid. 8,4). And, in harmony with these matters, I elucidate great, general principles of the works of the Lord of the universe, so that they might serve as an opening for one who understands by which to love the Name, as some sages said on the subject of love: "Out of it thou wilt recognize the One who spoke, and the universe was called into existence."
In which case, why does Shabbos take precedence over Mikdash?
The message must be that the core of Jewish experience is not to be found in experiencing Hashem supernaturally but rather through experiencing him within nature.
Am Yisrael has survived 2000 years without the Mikdash but Shabbos has been essential.
Perhaps this is why the Gemara promises that Mashiach will come if Am Yisrael keep Shabbos perfectly. If we experience Hashem through nature, one day we will merit to experience him outside nature.
(יג) וְאַתָּ֞ה דַּבֵּ֨ר אֶל־בְּנֵ֤י יִשְׂרָאֵל֙ לֵאמֹ֔ר אַ֥ךְ אֶת־שַׁבְּתֹתַ֖י תִּשְׁמֹ֑רוּ כִּי֩ א֨וֹת הִ֜וא בֵּינִ֤י וּבֵֽינֵיכֶם֙ לְדֹרֹ֣תֵיכֶ֔ם לָדַ֕עַת כִּ֛י אֲנִ֥י יי מְקַדִּשְׁכֶֽם׃
(ב) ויקהל משה. רבותינו בעלי אגדה אומרים מתחלת התורה ועד סופה אין בה פרשה שנאמר בראשה ויקהל אלא זאת בלבד אמר הקב"ה עשה לך קהלות גדולות ודרוש לפניהם ברבים הלכות שבת כדי שילמדו ממך דורות הבאים להקהיל קהלות בכל שבת ושבת ולכנוס בבתי מדרשות ללמד ולהורות לישראל דברי תורה איסור והיתר כדי שיהא שמי הגדול מתקלס בין בני. מכאן אמרו משה תקן להם לישראל שיהיו דורשין בענינו של יום הלכות פסח בפסח הלכות עצרת בעצרת הלכות החג בחג. אמר משה לישראל אם אתם עושים כסדר הזה הקב"ה מעלה עליכם כאילו המלכתם אותי בעולמי
Perhaps a further link between Shabbos and Mishkan is that they are gathering points. The points in time and space when Jews gather together. Perhaps this is why it comes after the Egel where Hashem sees the need to centralise the religion and to give everyone the same places and times in Kedusha. Gatherings on Shabbos and at the Mikdash are vital for preventing the religion from splintering, everyone trying to access Hashem in his own way and eventually avoda zara.