Kitzur Likutei Moharan I, 54:15
Through hitbodedut at night, for that is its main time, and likewise through rising at chatzot (midnight), one merits all that is mentioned above, and to think at all times about his purpose and his ultimate end in the World to Come, until he returns in complete repentance in truth. He merits to look at everything that God, blessed be He, brings about for him, and to understand that it is all in order to hint hints to him at all times to draw close to Him, which is the essence of true composure of mind. The main reason for his existence in this world, the number of the days of his vain life, and everything that is done with him each day, all alike, is for this alone.
View original Hebrew
עַל יְדֵי הִתְבּוֹדְדוּת בַּלַּיְלָה שֶׁאָז עִקַּר זְמַנָּהּ וְכֵן עַל יְדֵי קִימַת חֲצוֹת זוֹכֶה לְכָל הַנַּ"ל וְלַחֲשׁב בְּכָל עֵת עַל תַּכְלִיתוֹ וְסוֹפוֹ הָאַחֲרוֹן לָעוֹלָם הַבָּא עַד שֶׁיָּשׁוּב בִּתְשׁוּבָה שְׁלֵמָה בֶּאֱמֶת. וְזוֹכֶה לְהִסְתַּכֵּל עַל כָּל מַה שֶּׁהַשֵּׁם יִתְבָּרַךְ מְסַבֵּב עִמּוֹ וּלְהָבִין שֶׁהַכּל הוּא כְּדֵי לִרְמז לוֹ רְמָזִים בְכָל עֵת לְהִתְקָרֵב אֵלָיו שֶׁזֶּהוּ עִקַּר הַיִּשּׁוּב הַדַּעַת הָאֲמִתִּי. וְעִקַּר קִיּוּמוֹ בְּזֶה הָעוֹלָם מִסְפַּר יְמֵי חַיֵּי הֶבְלוֹ וְכָל מַה שֶּׁנַּעֲשֶׂה עִמּוֹ בְּכָל יוֹם הַכּל כַּאֲשֶׁר לַכּל הוּא בִּשְׁבִיל זֶה לְבַדRead this passage within Part I · Torah 54, in its full context