(Leviticus 8:3:) AND ASSEMBLE THE WHOLE CONGREGATION. The Holy One, blessed be He, said to Moses: Pay him honor in the presence of all Israel, so that they may see him entering into the High Priesthood, and warn them not to dispute over the priesthood like Korah and his company. For I know that Uzziah is destined to arise and dispute over the priesthood, as it is said (Numbers 17:5): "A reminder to the children of Israel, so that no stranger who is not of the seed of Aaron should draw near…" He was not of the seed of Levi, just as Korah was. It said to him: The reminder that you make for Korah, you make for him. It said to him (Numbers 17:5): "Let him not be like Korah and his company." He said to it: And how will you act toward him? It said to him (ibid.): "As the LORD spoke through Moses to him." He said to him: Just as I did to your hand (Exodus 4:6), "And he brought it out from his bosom, and behold, his hand was leprous as snow" — so will I do to him. Therefore (Leviticus 8:3): AND ASSEMBLE THE WHOLE CONGREGATION.
Why Moses Assembled All Israel for Aaron's Priesthood
Midrash Tanchuma Buber, Tzav 15:1
ואת כל העדה הקהל (ויקרא ח ג). א"ל הקב"ה למשה, חלוק לו כבוד כנגד כל ישראל, כדי שיראו אותו שהוא נכנס לכהונה גדולה ותתרה בהן, שלא יחלוקו על הכהונה כקרח וכעדתו, שאני יודע שעתיד עוזיה לעמוד ולחלוק על הכהונה, שנאמר זכרון לבני ישראל למען אשר לא יקרב איש זר וגו' (במדבר יז ה), הוא אינו מזרע לוי, כשם שהיה קרח, א"ל זכרון שאתה עשה לקרח אתה עושה לו, א"ל לא יהיה כקרח וכעדתו (במדבר יז ה), א"ל והיאך אתה עושה לו, א"ל כאשר דבר ה' ביד משה לו (שם שם), א"ל כשם שעשיתי לידך, ויוציאה (מחיקו) והנה ידו מצורעת כשלג (שמות ד ו), כך אני עשה לו, לפיכך ואת כל העדה הקהל.