Moses endeavored to comfort his brother in still another way, saying: "Thy sons died to glorify the name of the Lord, blessed be His name, for on Sinai God said to me: 'And there will I meet with the children of Israel, the Tabernacle shall be sanctified by those that glorify Me.' I knew that this sanctuary of God was to be sanctified by the death of those that stood near it, but I thought either thou or I was destined for this, but now I perceive that thy sons were nearer to God than we." These last words sufficed to induce Aaron to control his grief over the loss of his sons, and like the true wise man he silently bore the heavy blow of fate without murmur or lament. God rewarded him for his silence by addressing him directly, and imparting an important priestly law to him.
Death of Aaron of Moses
Legends of the Jews 3:83