Kitzur Likutei Moharan I, 36:4
The remedy for immoral thoughts that come to a person is to say "Hear, O Israel" etc., "One," and "Blessed be the Name of His glorious kingdom forever and ever." For sexual desire comes from the turbidity of the blood, that is, from the spleen, which is Lilit, who is "the evil maidservant," the mother of the Erev Rav (mixed multitude), who is the wicked kingdom. The opposite of her is the Kingdom of Heaven, the aspect of the mistress, "a woman who fears God", who is the aspect of the Sea of Solomon, which stands upon twelve oxen, which are the twelve tribes of Yah. Through accepting the yoke of the Kingdom of Heaven with the twelve words of the two verses of the Shema, which correspond to the twelve tribes, and in both of them there are forty-nine letters, corresponding to the forty-nine letters in the names of the tribes* (and it is brought in the book Or HaGanuz that in the Future to Come we will say "Blessed be the Name of the glory of the kingdom forever and ever," that is, fifty letters in both of them, the numerical value of "yam" (sea) [50]. Likewise there is another count of fifty letters in the names of the holy tribes, as is brought, and this is the Sea of Solomon), he then includes his soul in the twelve tribes of Yah, and he separates his soul from the soul of the Erev Rav, who come from the harlot, who is the evil maidservant mentioned above, from whom this desire comes, which includes all the bad traits of the seventy languages. Therefore one closes the eyes at the time of accepting the yoke of the Kingdom of Heaven, to show that through this he is in the aspect of "the beautiful maiden who has no eyes," who does not have this desire which includes the bad traits of the seventy languages.
View original Hebrew
וְתִקּוּן שֶׁל הִרְהוּרֵי זְנוּת שֶׁבָּא לָאָדָם הוּא שֶׁיּאמַר שְׁמַע וְכוּ' אֶחָד, וּבָרוּךְ שֵׁם כְּבוֹד מַלְכוּתוֹ לְעוֹלָם וָעֶד. כִּי תַאֲוַות נִיאוּף הִיא בָּאָה מֵעֲכִירַת הַדָּמִים הַיְנוּ מִטְּחוֹל שֶׁהִיא לִילִית שֶׁהִיא שִׁפְחָה בִּישָׁא אִמָּא דְעֵרֶב רַב שֶׁהִיא מַלְכוּת הָרְשָׁעָה. וְהַהֶפֶךְ מִמֶּנָּה הוּא מַלְכוּת שָׁמַיִם בְּחִינַת גְּבִירָה אִשָּׁה יִרְאַת ה' שֶׁהִיא בְּחִינַת יַם שֶׁל שְׁלמה הָעוֹמֶדֶת עַל שְׁנֵים עָשָׂר בָּקָר שֶׁהֵם שְׁנֵים עָשָׂר שִׁבְטֵי יָ"הּ . וּבְקַבָּלַת על מַלְכוּת שָׁמַיִם בִּשְׁתֵּים עֶשְׂרֵה תֵּבוֹת דִּשְׁנֵי פְּסוּקִים דִּקְרִיאַת שְׁמַע שֶׁהוּא נֶגֶד שְׁנֵים עָשָׂר שְׁבָטִים וּבִשְׁנֵיהֶם אַרְבָּעִים וְתֵשַׁע אוֹתִיּוֹת נֶגֶד אַרְבָּעִים וְתֵשַׁע אוֹתִיּוֹת שֶׁבִּשְׁמוֹת הַשְּׁבָטִים* וּמוּבָא בְּסֵפֶר "אוֹר הַגָּנוּז" כִּי לֶעָתִיד לָבוֹא נאמַר בָּרוּךְ הַשֵּׁם כְּבוֹד מַלְכוּת לְעוֹלָם וָעֶד, דְּהַיְנוּ נוּן אוֹתִיּוֹת בִּשְׁנֵיהֶם גִּימַטְרִיָּא י"ם. וְכֵן יֵשׁ מִנְיָן אַחֵר שֶׁל י"ם אוֹתִיּוֹת בִּשְׁמוֹת הַשְּׁבָטִים הַקְּדוֹשִׁים כַּמּוּבָא וְזֶהוּ יָם שֶׁל שְׁלמה, אָז כּוֹלֵל נִשְׁמָתוֹ בִּשְׁנֵים עָשָׂר שִׁבְטֵי יָ"הּ. וּמַפְרִישׁ נִשְׁמָתוֹ מִנִּשְׁמַת עֵרֶב רַב הַבָּאִים מֵאִשָּׁה זוֹנָה שֶׁהִיא שִׁפְחָה בִּישָׁא הַנַּ"ל, שֶׁמִּמֶּנָּה בָּאָה הַתַּאֲוָה הַזּאת שֶׁכּוֹלֵל כָּל הַמִּדּוֹת רָעוֹת שֶׁל הַשִּׁבְעִים לָשׁוֹן. וְעַל כֵּן סוֹגְרִין הָעֵינַיִם בִּשְׁעַת קַבָּלַת על מַלְכוּת שָׁמַיִם לְהוֹרוֹת שֶׁעַל יְדֵי זֶה הוּא בִּבְחִינַת עוּלֵימְתָּא שַׁפִּירְתָּא דְּלֵית לָהּ עֵינִין שֶׁאֵין לָהּ הַתַּאֲוָה שֶׁכּוֹלֶלֶת הַמִּדּוֹת רָעוֹת שֶׁל הַשִּׁבְעִים לְשׁוֹנוֹתRead this passage within Part I · Torah 36, in its full context