Kitzur Likutei Moharan I, 60:5
The main contemplation of the intellect, that it be in its proper order so that one can contemplate, is through the moisture and fats in the body. Through sexual desire and the vanity of beauty, the breathing, which is the main life-force of a person, is cut off, and through this the moisture of the body dries up, and the contemplation of the brain and intellect is spoiled. Therefore all the insane become so through adultery, as is known. Likewise other people who are not insane, but who have much lack and confusion of mind, all this comes through adultery, which dries up the moisture and fats in the body, and through this the intellect is spoiled, as mentioned above.
View original Hebrew
עִקַּר הִתְבּוֹנְנוּת הַשֵׂכֶל שֶׁיִּהְיֶה עַל תִּקּוּנוֹ שֶׁיּוּכַל לְהִתְבּוֹנֵן הוּא עַל יְדֵי לֵחוֹת וּשְׁמָנִים שֶׁבַּגּוּף. וְעַל יְדֵי תַּאֲוָות נִיאוּף וְהֶבֶל הַיּפִי נִפְסֶקֶת הַנְּשִׁימָה שֶׁהִיא עִקַּר חִיּוּת הָאָדָם, וְעַל יְדֵי זֶה נִתְיַבְּשִׁין לֵחוֹת הַגּוּף וְנִתְקַלְקֵל הִתְבּוֹנְנוּת הַמּחַ וְהַשֵׂכֶל. וְעַל כֵּן כָּל הַמְשֻׁגָּעִים נַעֲשִׂין עַל יְדֵי נִיאוּף כַּיָּדוּעַ. וְכֵן שְׁאָר בְּנֵי אָדָם שֶׁאֵינָם מְשֻׁגָּעִים אֲבָל יֵשׁ בָּהֶם חֶסְרוֹן וּבִלְבּוּל הַדַּעַת הַרְבֵּה הַכּל בָא עַל יְדֵי נִיאוּף שֶׁמְּיַבֵּשׁ לֵחוֹת וּשְׁמָנִים שֶׁבַּגּוּף וְעַל יְדֵי זֶה נִתְקַלְקֵל הַשֵׂכֶל כַּנַּ"לRead this passage within Part I · Torah 60, in its full context