Likutei Etzot, Joy 27
Through melancholy and sadness the mind and da'at are in exile, and it is hard for him to settle his mind to return to God, and because of this he is far from God, may He be blessed. For the main reason that the world is far from God, may He be blessed, is because they do not settle themselves well about what is the purpose of the whole world. But through joy the mind is settled and one can settle himself well, for joy is the world of freedom. And therefore when he binds joy to his da'at, then his da'at is in freedom and not in exile, and he can direct the mind and da'at as he wishes, to settle his mind well about what is the purpose of all the matters of this world. And through this he will return to God (Likutei Moharan II, Torah 10).
View original Hebrew
עַל־יְדֵי מָרָה שְׁחֹרָה וְעַצְבוּת, הַמֹּחַ וְהַדַּעַת בְּגָלוּת וְקָשֶׁה לוֹ לְיַשֵּׁב דַּעְתּוֹ לָשׁוּב אֶל ה', וּמֵחֲמַת זֶה הוּא רָחוֹק מֵהַשֵּׁם יִתְבָּרַךְ. כִּי עִקַּר מַה שֶּׁהָעוֹלָם רְחוֹקִים מֵהַשֵּׁם יִתְבָּרַךְ הוּא מֵחֲמַת שֶׁאֵינָם מְיַשְּׁבִין עַצְמָן הֵיטֵב, מָה הַתַּכְלִית מִכָּל הָעוֹלָם. אֲבָל עַל־יְדֵי שִׂמְחָה, הַמֹּחַ מְיֻשָּׁב וִיכוֹלִין לְיַשֵּׁב עַצְמוֹ הֵיטֵב, כִּי שִׂמְחָה הוּא עוֹלָם הַחֵרוּת. וְעַל־כֵּן כְּשֶׁמְּקַשֵּׁר שִׂמְחָה לְדַעְתּוֹ, אֲזַי דַּעְתּוֹ בְּחֵרוּת וְאֵינוֹ בְּגָלוּת, וְיוּכַל לְהַנְהִיג הַמֹּחַ וְהַדַּעַת כִּרְצוֹנוֹ, לְיַשֵּׁב דַּעְתּוֹ הֵיטֵב מָה הַתַּכְלִית מִכָּל עִנְיְנֵי הָעוֹלָם הַזֶּה. וְעַל־יְדֵי זֶה יָשׁוּב אֶל ה': (לק"ת סי' י')