The Zohar · Noach
זוהר, נח מ״גZohar, Noach 43
Section 43 of 44 in Noach — 7 segments
Segment 1א׳
רַבִּי שִׁמְעוֹן פָּתַח (ואמר) (יחזקאל מ״ו:א׳) כֹּה אָמַר יְיָ אֱלֹהִים שַׁעַר הֶחָצֵר הַפְּנִימִית הַפּוֹנֶה קָדִים יִהְיֶה סָגוּר שֵׁשֶׁת יְמֵי הַמַּעֲשֶׂה וּבְיוֹם הַשַּׁבָּת יִפָּתֵחַ וּבְיוֹם הַחֹדֶשׁ יִפָּתֵחַ. הַאי קְרָא אִית לְאִסְתַּכָּלָא בֵּיהּ. וְאִיהוּ רָזָא כְּמָה דְאִתְּמָר. יִהְיֶה סָגוּר שֵׁשֶׁת יְמֵי הַמַּעֲשֶׂה. אַמַּאי (וביום השבת יפתח וביום החדש יפתח וגו'. אמאי יהיה סגור כל אנון יומין דששת ימי המעשה).
R. Simeon began his discourse with the verse: Thus saith the Lord God: The gate of the inner court that looketh towards the east shall be shut the six working days; but on the Sabbath day it shall be opened, and in the day of the new moon it shall be opened (Ezek. 46, 1). He said: ‘If this verse is attentively considered, it is found to contain an allusion with which we are familiar. The reason why the gate is to be shut on the six working days is in order that the profane should not make use of the sacred;
Segment 2ב׳
אֶלָּא אִלֵין יְמֵי חוֹל. דְּתַרְעָא דָא יִהְיֶה סָגוּר דְּלָא לְאִשְׁתַּמָּשָׁא חוֹל בְּקוּדְשָׁא. וּבְיוֹם הַשַּׁבָּת יִפָּתֵחַ וּבְיוֹם הַחֹדֶשׁ יִפָּתֵחַ. דְּהָא כְּדֵין שִׁמּוּשָׁא (דקודשא בריך הוא) דְּקוּדְשָׁא בְּקוּדְשָׁא. וּכְדֵין אִתְנְהִיר סִיהֲרָא לְאִתְחַבְּרָא בְּשִׁמְשָׁא.
“but on the Sabbath day it shall be opened and on the day of the new moon it shall be opened”, since in this case the sacred makes use of the sacred, and so the moon comes then to form a junction with the sun.
Segment 3ג׳
תָּא חֲזֵי, תַּרְעָא דָא לָא אִתְפַּתַּח בְּאִנּוּן שִׁתָּא יוֹמֵי דְּחוֹל. בְּגִין דְּהָא בְּאִנּוּן יוֹמֵי דְּחוֹל עָלְמָא תַּתָּאָה אִתְּזָן וְשָׁלְטִין כָּל אִנּוּן שִׁית יוֹמִין דְּחוֹל עַל עָלְמָא בַּר בְּאַרְעָא דְיִשְׂרָאֵל.
The reason why that gate is not to be opened on the six working days is because from them this lower world draws sustenance, and they have control of the whole world with the exception of the Land of Israel:
Zohar — Vocalized Zohar, Israel 2013, via Sefaria
English: The Zohar — Soncino Press, London 1933 (public domain)