"And it brought forth a bud" (Numbers 17:23) — corresponding to that which is said, "And if the leprosy breaks out (paroaḥ tifraḥ)" (Leviticus 13:12), to teach you that anyone who comes and contests the priesthood, leprosy shall be upon him, just as was done to Uzziah; so shall be done to everyone who contests the priesthood. "And it produced a blossom (tzitz)" — by the Explicit Name that was written upon the frontplate (tzitz). "And it ripened almonds (shekedim)" — this teaches that the Holy One, blessed be He, is vigilant (shoked) to repay evil to anyone who contests the priesthood.
Aaron's Budding Staff and the Doom of Those Who Challenge the Priesthood
Midrash Aggadah, Numbers 17:23
ויוצא פרח. על שם שנאמר ואם פרוח תפרח (ויקרא יג יב), ללמדך שכל מי שיבא ויערער על הכהונה עליו יהיה צרעת, כמו שנעשה בעוזיהו, כן יעשה לכל המערער על הכהונה: ויצץ ציץ. בשם המפורש שהיה כתוב על הציץ: ויגמול שקדים. מלמד שהקב"ה שוקד לגמול רע לכל מי שיערער על הכהונה: