ו תנן התם רבי אליעזר אומר שוב יום אחד לפני מיתתך שאלו תלמידיו את ר"א וכי אדם יודע איזהו יום ימות אמר להן וכל שכן ישוב היום שמא ימות למחר ונמצא כל ימיו בתשובה ואף שלמה אמר בחכמתו (קהלת ט, ח) בכל עת יהיו בגדיך לבנים ושמן על ראשך אל יחסר א"ר יוחנן בן זכאי משל למלך שזימן את עבדיו לסעודה ולא קבע להם זמן פיקחין שבהן קישטו את עצמן וישבו על פתח בית המלך אמרו כלום חסר לבית המלך טיפשין שבהן הלכו למלאכתן אמרו כלום יש סעודה בלא טורח בפתאום ביקש המלך את עבדיו פיקחין שבהן נכנסו לפניו כשהן מקושטין והטיפשים נכנסו לפניו כשהן מלוכלכין שמח המלך לקראת פיקחים וכעס לקראת טיפשים אמר הללו שקישטו את עצמן לסעודה ישבו ויאכלו וישתו הללו שלא קישטו עצמן לסעודה יעמדו ויראו חתנו של ר"מ משום ר"מ אמר אף הן נראין כמשמשין אלא אלו ואלו יושבין הללו אוכלין והללו רעבין הללו שותין והללו צמאים שנאמר (ישעיהו סה, יג) כה אמר ה' הנה עבדי יאכלו ואתם תרעבו הנה עבדי ישתו ואתם תצמאו הנה עבדי ירונו מטוב לב ואתם תצעקו מכאב לב :
We learned there in a Mishnah, Rebbe Eliezer says Repent (do teshuva) one day before your death The students of Rebbe Eliezer asked him But does a person know which day he will die He said to them All the more so, Let a person repent today, he may die tomorrow, and he will find all his days in penitence
And Solomon too said in his wisdom, Let thy garments be always white; and let not thy head lack ointment. R. Johanan b. Zakkai said: This may be compared to a king who summoned his servants to a banquet without appointing a time. The wise ones adorned themselves and sat at the door of the palace. ['for,'] said they. 'is anything lacking in a royal palace?' The fools went about their work, saying, 'can there be a banquet without preparations'? Suddenly the king desired [the presence of] his servants: the wise entered adorned, while the fools entered soiled. The king rejoiced at the wise but was angry with the fools. 'Those who adorned themselves for the banquet,' ordered he, 'let them sit, eat and drink. But those who did not adorn themselves for the banquet, let them stand and watch.' R. Meir's son-in-law said in R. Meir's name: Then they too would [merely] look as being in attendance. But both sit, the former eating and the latter hungering, the former drinking and the latter thirsting, for it is said, Therefore thus saith the Lord God, Behold, my servants shall eat, but ye shall be hungry: behold, my servants shall drink, but ye shall be thirsty: [behold, my servants shall rejoice, but ye shall be ashamed:] behold, my servants shall sing for joy of heart, but ye shall cry for sorrow of heart.
(ז) וכי תבואו אל הארץ ונטעתם. אמר להם הקדוש ברוך הוא לישראל, אף על פי שתמצאו אותה מליאה כל טוב, לא תאמרו נשב ולא נטע, אלא הוו זהירין בנטיעות, שנאמר, ונטעתם כל עץ מאכל. כשם שנכנסתם ומצאתם נטיעות שנטעו אחרים, אף אתם היו נוטעים לבניכם. שלא יאמר אדם, אני זקן, כמה שנים אני חי, מה אני עומד מתיגע לאחרים, למחר אני מת. אמר שלמה, את הכל עשה יפה בעתו גם את העולם נתן בלבם (קהל' ג יא), העלם כתיב, חסר וא"ו. מהו כן. אילולי שהקדוש ברוך הוא העלים מלבו של אדם את המיתה, לא היה אדם בונה ולא נוטע, שהיה אומר, למחר אני מת, למה אני עומד ומתיגע לאחרים. לפיכך העלים הקדוש ברוך הוא מלבות של בני אדם את יום המיתה, שיהא אדם בונה זכה, יהיה לו. לא זכה, לאחרים.
"When you come to the Land and plant..." The holy blessed One said to Israel - Though you find it full with all you need, do not say - we have no need to plant , rather make sure you plant. this is the meaning of " and you shall plant fruit trees". Just as you entered and found trees that others had planted, you too should plant for your descendants. A person should not say I am hold and do not have many years to live - why work for others? tomorrow i shall die...
Solomon writes "all he has done well in it's appropriate time and set the world in their hearts" "the world" can also be read as hidden, in the sense that had God not hidden death from a person's heart A person would neither build nor plant, saying I may die tomorrow - why work for others? Therefor the holy blessed One hid the day of death from people's hearts so a person will build and either merit the benefits or have others merit.
(א) אֵי זוֹ הִיא תְּשׁוּבָה גְּמוּרָה. זֶה שֶׁבָּא לְיָדוֹ דָּבָר שֶׁעָבַר בּוֹ וְאֶפְשָׁר בְּיָדוֹ לַעֲשׂוֹתוֹ וּפֵרַשׁ וְלֹא עָשָׂה מִפְּנֵי הַתְּשׁוּבָה. לֹא מִיִּרְאָה וְלֹא מִכִּשְׁלוֹן כֹּחַ. כֵּיצַד. הֲרֵי שֶׁבָּא עַל אִשָּׁה בַּעֲבֵרָה וּלְאַחַר זְמַן נִתְיַחֵד עִמָּהּ וְהוּא עוֹמֵד בְּאַהֲבָתוֹ בָּהּ וּבְכֹחַ גּוּפוֹ וּבַמְּדִינָה שֶׁעָבַר בָּהּ וּפָרַשׁ וְלֹא עָבַר זֶהוּ בַּעַל תְּשׁוּבָה גְּמוּרָה. הוּא שֶׁשְּׁלֹמֹה אָמַר (קהלת יב-א) "וּזְכֹר אֶת בּוֹרְאֶיךָ בִּימֵי בְּחוּרֹתֶיךָ". וְאִם לֹא שָׁב אֶלָּא בִּימֵי זִקְנוּתוֹ וּבְעֵת שֶׁאִי אֶפְשָׁר לוֹ לַעֲשׂוֹת מַה שֶּׁהָיָה עוֹשֶׂה אַף עַל פִּי שֶׁאֵינָהּ תְּשׁוּבָה מְעֵלָּה מוֹעֶלֶת הִיא לוֹ וּבַעַל תְּשׁוּבָה הוּא. אֲפִלּוּ עָבַר כָּל יָמָיו וְעָשָׂה תְּשׁוּבָה בְּיוֹם מִיתָתוֹ וּמֵת בִּתְשׁוּבָתוֹ כָּל עֲוֹנוֹתָיו נִמְחָלִין שֶׁנֶּאֱמַר (קהלת יב-ב) "עַד אֲשֶׁר לֹא תֶחְשַׁךְ הַשֶּׁמֶשׁ וְהָאוֹר וְהַיָּרֵחַ וְהַכּוֹכָבִים וְשָׁבוּ הֶעָבִים אַחַר הַגֶּשֶׁם" שֶׁהוּא יוֹם הַמִּיתָה. מִכְּלָל שֶׁאִם זָכַר בּוֹרְאוֹ וְשָׁב קֹדֶם שֶׁיָּמוּת נִסְלַח לוֹ:
(1) What is complete teshuvah? When a person has the opportunity to commit the same sin, and he possess the ability to do it, but he separates and does not do it because of teshuvah and not out of fear or lack of strength. What is an example? A person who had illicit sex with a woman, and after some time he is alone with her, and he still loves her and possesses his physical power and is in the same country where he committed the sin, but he separates and does not sin – that person is a complete ba’al teshuvah, about whom [King] Solomon said, Remember your Creator in the days of your youth (Ecclesiastes 12:1). And if a person only does teshuvah in the days of old age, when it is not possible to do what he once did, even though this is not the highest teshuvah, it is effective and that person is a ba’al teshuvah. Even if a person sinned all his days and did teshuvah on the day of his death and died in his teshuvah, all his sins are forgiven, as it says, Before the sun is darkened, and the light of the moon and the stars, and the clouds return after the rain (Ecclesiastes 12:2), which is the day of death. This implies that if he remembers his Creator and does teshuvah before he dies, he is forgiven.