Daily Zohar 4362
Holy Zohar text. Daily Zohar -4362

Hebrew translation:

181. אָמַר לָהֶם, מִן הַדִּין הָיָה לוֹ לְבָרְאוֹ כָּךְ, בִּגְלַל שֶׁהַתּוֹרָה בִּגְלָלוֹ נִבְרְאָה, שֶׁכָּתוּב בָּהּ עֹנֶשׁ לָרְשָׁעִים וְשָׂכָר לַצַּדִּיקִים, וְלֹא הָיָה שָׂכָר לַצַּדִּיקִים וְעֹנֶשׁ לָרְשָׁעִים אֶלָּא בִּגְלַל אָדָם שֶׁל בְּרִיאָה, (ישעיה מה) לֹא תֹהוּ בְרָאָהּ לָשֶׁבֶת יְצָרָהּ. אָמְרוּ, וַדַּאי כָּעֵת שָׁמַעְנוּ מַה שֶּׁלֹּא שָׁמַעְנוּ עַד עַכְשָׁו, שֶׁוַּדַּאי לֹא בָרָא הַקָּדוֹשׁ בָּרוּךְ הוּא דָּבָר שֶׁלֹּא צָרִיךְ.
182. וְלֹא עוֹד, אֶלָּא הַתּוֹרָה שֶׁל בְּרִיאָה הִיא לְבוּשׁ הַשְּׁכִינָה, וְאִם אָדָם לֹא הָיָה עָתִיד לְהִבָּרֹאת [לַחֲטֹא], הָיְתָה הַשְּׁכִינָה בְּלִי כִסּוּי כְּמוֹ עָנִי. וְלָכֵן כָּל מִי שֶׁחָטָא, כְּאִלּוּ הִפְשִׁיט לַשְּׁכִינָה אֶת מַלְבּוּשֶׁיהָ, וְזֶהוּ עֹנֶשׁ הָאָדָם.

.

Zohar Beresheet
Continued from previous DZ
#181
He told them it was proper to create man like this, with aspects of light and darkness. The Torah was created because of him, where it is written about punishments for the wicked and rewards for the righteous.
Isaiah 45:18
“כִּי כֹה אָמַר יְהוָה בּוֹרֵא הַשָּׁמַיִם הוּא הָאֱלֹהִים יֹצֵר הָאָרֶץ וְעֹשָׂהּ הוּא כוֹנְנָהּ לֹא תֹהוּ בְרָאָהּ לָשֶׁבֶת יְצָרָהּ אֲנִי יְהוָה וְאֵין עוֹד.”
“For thus says YHVH, Who created the heavens, Who is God, Who formed the earth and made it, Who has established it, Who did not create it in vain, Who formed it to be inhabited: “I am YHVH, and there is no other.”
They said, surely now we have heard what we have just heard; indeed, the Holy One, blessed be He, has not created anything unnecessary.

Lesson;
God created the world for us to have the freedom to choose between good or bad, rewards or punishments.

#182
In addition, the Torah of creation is the clothing of the Shechina, and if man had not been created, the Shechina would be without a cover like a poor man. Therefore, everyone who has sinned, as if he stripped the Shechina of her clothes, causing punishment upon himself.

{||}