Commentary for Berakhot 33:6
ר' יוחנן כי הוה מסיים ספרא דאיוב אמר הכי סוף אדם למות וסוף בהמה לשחיטה והכל למיתה הם עומדים אשרי מי שגדל בתורה ועמלו בתורה ועושה נחת רוח ליוצרו וגדל בשם טוב ונפטר בשם טוב מן העולם ועליו אמר שלמה (קהלת ז, א) טוב שם משמן טוב ויום המות מיום הולדו.
R. Johanan said : R. Meir, on concluding the reading of the Book of Job, used to say: It is the fate of man to die and of cattle to be slaughtered, and all are destined to die. Happy is he who has grown in Torah and whose labour has been in Torah ; who has caused tranquillity of spirit to his Creator, advanced in good repute, and departed from the world with a good name. Of him said Solomon, "A good name is better than precious oil, and the day of death than the day of one's birth " (Eccles. vii. 1).