מדרש אויף תהילים 133:2

כַּשֶּׁ֤מֶן הַטּ֨וֹב ׀ עַל־הָרֹ֗אשׁ יֹרֵ֗ד עַֽל־הַזָּקָ֥ן זְקַֽן־אַהֲרֹ֑ן שֶׁ֝יֹּרֵ֗ד עַל־פִּ֥י מִדּוֹתָֽיו׃

אַזױ װי טײַער אײל אױפֿן קאָפּ, װאָס נידערט אַראָפּ אױף דער באָרד –אױף דער באָרד פֿון אַהרֹנען, װאָס נידערט אױפֿן קאָלנער פֿון זײַנע קלײדער;

Kohelet Rabbah

“A good name is better than fine oil, and the day of death than the day of one's birth” (Ecclesiastes 7:1).
“A good name is better than fine oil.” Fine oil descends,1See Psalms 133:2. a good name ascends.2See Genesis 12:2. Fine oil is temporary, a good name is eternal. Fine oil is finite, a good name is infinite. Fine oil costs money, a good name is free. Fine oil is for the living, a good name is for the living and for the dead. Fine oil is for the wealthy, a good name is for the poor and the wealthy. Fine oil wafts from the inner chamber to the banquet hall, a good name carries from one end of the world to the other end. Fine oil falls on a corpse and putrefies, as it is stated: “Flies of death putrefy and ferment blended oil” (Ecclesiastes 10:1). A good name falls on the dead and does not putrefy, as it is stated: “He went up and stretched himself upon the boy […and the lad opened his eyes]” (II Kings 4:35).3Elisha’s righteousness, which earned him a good name, allowed him to revive the dead. Fine oil falls on water and disperses, a good name falls on water and does not disperse, as it is stated: “The Lord said to Jonah and it spewed Jonah out” (Jonah 2:11). Fine oil falls onto fire and burns, a good name falls on fire and does not burn, as it is written: “Then…they emerged [from within the fire]” (Daniel 3:26).4The reference is to Ḥananya, Mishael, and Azarya.
Rabbi Yehuda ben Rabbi Simon said: We have found those with fine oil who entered a place of life and emerged burned, and those with a good name who entered a place of death and emerged alive. Nadav and Avihu5They had been anointed with the anointing oil. entered a place of life and died.6Nadav and Avihu, who had been anointed to the priesthood with the anointing oil, entered the Tabernacle and were killed (see Leviticus 10:1–2). Ḥananya, Mishael, and Azarya entered a fiery furnace and emerged alive. Therefore, it is stated: “A good name is better than fine oil…”
פֿרעגט אַ רבֿBookmarkShareCopy

Midrash Tanchuma

Another comment on A good name is better than precious oil. A good name increases (among people), while precious oil descends. A good name arises, as it is written: And I will make of thee a great nation, and I will bless thee and make thy name great (Gen. 12:2), while precious oil flows downward, as it is said: It is like the precious oil upon the head (Ps. 133:2). Precious oil is transitory, while a good name is everlasting, as is said: May his name endure forever; may his name be continued as long as the sun (ibid. 72:17). This was said in reference to the prophets and the wise men. Precious oil may be destroyed, but a good name is indestructible, as it is said: I will give them an everlasting memorial, that they shall not be cut off (Isa. 56:5).
פֿרעגט אַ רבֿBookmarkShareCopy

Otzar Midrashim

This entire passage, Aaron prophesied to them in Egypt, and from where do we know that Aaron prophesied to them in Egypt? As it says "And a man of God came to Eli etc." (I Samuel 2:27) and it is written "And I chose him etc." (Psalms 105:26). Therefore Moses said: Aaron my brother was prophesying to them all these years, now I will go to him. The Holy One, blessed be He, said to Moses: Moses! He rejoices in your greatness. When? When he was anointing Aaron with the anointing oil, the oil bubbled and flowed down Aaron’s beard. Moses thought it was on his own beard, as it says "Like the goodly oil upon the head etc." (Psalms 133:2). What is "upon the beard"? One beard! Did Aaron have two beards? Rather, it flowed down on Aaron's beard as if it was on Moses' beard (see Vayikra Rabbah 3). The Holy One, blessed be He, said to Moses: By your life, any greatness that I bestow upon Aaron is through you that I bestow upon him, as it says "And you shall bring near to yourself Aaron your brother, and this is the thing that you shall do to them" (Exodus 28:1, 29:1). Therefore it says "And these are the generations of Aaron and Moses."
פֿרעגט אַ רבֿBookmarkShareCopy