Likutei Etzot, Midnight (Chatzot) 1
Through rising at midnight to recite Tikkun Chatzot and to engage in Torah, prayer and hitbodedut, through this one merits to separate the good from the evil, and to draw upon himself the true remembrance: to remember always his purpose and his eternal end, and to bind his thoughts always to the World to Come, and to look at everything that God, blessed be He, brings about and turns around for him each day; for everything that happens to everyone is in order to hint hints to him at every moment to draw near to Him, which is the essence of the true good purpose. And the essence of a person's existence in this world, the number of the days of his fleeting life, and everything that is done with him each day, all of it is for this alone. (Likutei Moharan I, Torah 54, end)
View original Hebrew
עַל־יְדֵי קִימַת חֲצוֹת לַיְלָה לְסַדֵּר תִּקּוּן־חֲצוֹת וְלַעֲסֹק בְּהַתּוֹרָה וּתְפִלָּה וְהִתְבּוֹדְדוּת, עַל־יְדֵי זֶה זוֹכִין לְבָרֵר הַטּוֹב מִן הָרָע, וּלְהַמְשִׁיךְ עַל עַצְמוֹ הַזִּכָּרוֹן הָאֲמִתִּי, לִזְכֹּר תָּמִיד תַּכְלִיתוֹ וְסוֹפוֹ הַנִּצְחִי וּלְאַדְבְּקָא מַחֲשַׁבְתֵּיהּ תָּמִיד בְּעָלְמָא דְּאָתֵי, וּלְהִסְתַּכֵּל עַל כָּל מַה שֶּׁהַשֵּׁם יִתְבָּרַךְ מְסַבֵּב וּמְגַלְגֵּל עִמּוֹ בְּכָל יוֹם, שֶׁהַכֹּל כַּאֲשֶׁר לַכֹּל הוּא כְּדֵי לְרַמֵּז לוֹ רְמָזִים בְּכָל עֵת לְהִתְקָרֵב אֵלָיו, שֶׁזֶּה עִקַּר הַתַּכְלִית הַטּוֹב הָאֲמִתִּי. וְעִקַּר קִיּוּם הָאָדָם בְּזֶה הָעוֹלָם, מִסְפַּר יְמֵי חַיֵּי הֶבְלוֹ, וְכָל מַה שֶּׁנַּעֲשָׂה עִמּוֹ בְּכָל יוֹם, הַכֹּל הוּא בִּשְׁבִיל זֶה לְבַד: (לק"א סי' נ"ד בסוף)Read this passage within Midnight (Chatzot), in its full context