Daily Zohar 4159
Holy Zohar text. Daily Zohar -4159

Hebrew translation:

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


Zohar Bo
Continued from previous DZ
For this reason, we have learned never to dwell in a place where people act negatively. Because if a man lives among the wicked, he gets caught in the same judgment they experience because of their sins. Those who live among the righteous benefit because of their virtue.

Rabbi Chasda was living among the people of Kapotkia, and he experienced difficult times and many illnesses. He moved his home to the city of Tzpouri to be among the Torah scholars, who are called the guardians. After his move, he went up and gained a lot of goodness, wealth, and a lot of Torah. He said I gained all the good because I came to live among those whom the Holy One Blessed, be He watches over to do good to them.

King Solomon had the highest degrees of wisdom in him, more than all the people of the generation.
1 Kings 5:11 (1 Kings 4:31 in English Bible)
“וַיֶּחְכַּם מִכָּל הָאָדָם מֵאֵיתָן הָאֶזְרָחִי וְהֵימָן וְכַלְכֹּל וְדַרְדַּע בְּנֵי מָחוֹל וַיְהִי שְׁמוֹ בְכָל הַגּוֹיִם סָבִיב.”
“For he was wiser than all men than Ethan the Ezrahite, and Heman, Chalcol, and Darda, the sons of Mahol; and his fame was in all the surrounding nations.”
Also, 1 Chronicles 29:23
“וַיֵּשֶׁב שְׁלֹמֹה עַל כִּסֵּא יְהוָה לְמֶלֶךְ תַּחַת דָּוִיד אָבִיו וַיַּצְלַח וַיִּשְׁמְעוּ אֵלָיו כָּל יִשְׂרָאֵל.”
“Then Solomon sat on the throne of YHVH as king instead of David, his father, and prospered; and all Israel obeyed him.”
The Zohar raises the question, what did Solomon mean when saying, “I have seen everything in my days of vanity” (Ecclesiastes 7:15).
He also said in Ecclesiastes 1:2
“הֲבֵל הֲבָלִים אָמַר קֹהֶלֶת הֲבֵל הֲבָלִים הַכֹּל הָבֶל.”
“Vanity of vanities,” says the Preacher; “Vanity of vanities, all is vanity.”

King Solomon manages to shackle Ashmedai, the King of Demons, and get a secret from him. Then Ashmedai tricked King Solomon, cast him away far, and took over the kingdom of Israel for several years until King Solomon regained his power. During this time, the king was wandering from place to place as a poor person because Ashmedai could make the king look different. Commentators say that Ashmedai made the sins related to Solomon, and his writings of Ecclesiastes and Proverbs were influenced by the time he was not a king.

Read the whole story here: