Bamidbar17:5

זִכָּרוֹן לִבְנֵי יִשְׂרָאֵל לְמַעַן אֲשֶׁר לֹא־יִקְרַב אִישׁ זָר אֲשֶׁר לֹא מִזֶּרַע אַהֲרֹן הוּא לְהַקְטִיר קְטֹרֶת לִפְנֵי יְהוָה וְלֹא־יִהְיֶה כְקֹרַח וְכַעֲדָתוֹ כַּאֲשֶׁר דִּבֶּר יְהוָה בְּיַד־מֹשֶׁה לוֹ׃

as a reminder to the children of Israel, so that no outsider who is not of the offspring of Aharon comes near to burn incense before the Eternal, and that it not be with him as with Korach and his company, as the Eternal spoke to him through Moshe.

Bamidbar 17:5

זִכָּרוֹן לִבְנֵי יִשְׂרָאֵל

Bamidbar / Numbers 17:5 · Drash

Bamidbar 17:5

זִכָּרוֹן לִבְנֵי יִשְׂרָאֵל לְמַעַן אֲשֶׁר לֹא־יִקְרַב אִישׁ זָר אֲשֶׁר לֹא מִזֶּרַע אַהֲרֹן הוּא לְהַקְטִיר קְטֹרֶת לִפְנֵי יְהוָה וְלֹא־יִהְיֶה כְקֹרַח וְכַעֲדָתוֹ כַּאֲשֶׁר דִּבֶּר יְהוָה בְּיַד־מֹשֶׁה לוֹ׃

as a reminder to the children of Israel, so that no outsider who is not of the offspring of Aharon comes near to burn incense before the Eternal, and that it not be with him as with Korach and his company, as the Eternal spoke to him through Moshe.

Drash דְּרָשׁ

Not holding on to a dispute

A dispute is easy to start and hard to end, especially once pride is hurt. Who should take the first step?

Talmud: Moshe (Moses) himself went to Datan (Dathan) and Aviram (Abiram) to put out the dispute. From this Reish Lakish teaches that one does not hold on to a dispute, and Rav says: whoever holds on to a dispute transgresses the prohibition "and not be like Korach (Korah)." Midrash Lekach Tov adds: such a person may be struck with leprosy, like King Uzziyahu (Uzziah).

How Talmud, Sanhedrin and Midrash Lekach Tov explain it

Talmud, Sanhedrin And not be like Korach and his congregation

"And Moshe rose and went to Datan and Aviram" (Bamidbar / Numbers 16:25). Reish Lakish said: from here, that one does not hold on to a dispute. For Rav said: whoever holds on to a dispute transgresses a prohibition, as it says: "And let him not be like Korach and his congregation."

Midrash Lekach Tov A reminder to the children of Israel

So that they take care. "That no outsider come near": even the Levites are called outsiders. "And let him not be like Korach and his congregation": from here they said that whoever holds on to a dispute transgresses a prohibition. And more than that, leprosy strikes him, as it says: "as the Eternal spoke by the hand of Moshe to him." "And the Eternal said to him further: put your hand into your bosom" and so on, "and he took it out, and behold, his hand was leprous, like snow" (Shemot / Exodus 4:6). And so we find with King Uzziyahu, and it is written: "And when he was strong, his heart grew proud" (Divrei HaYamim II / II Chronicles 26:16), "and the leprosy shone on his forehead" (Divrei HaYamim II / II Chronicles 26:19).

Takeaway

Moshe himself went to Datan and Aviram, though they had refused to come to him (Bamidbar / Numbers 16:12, 16:25). Reish Lakish sees a lesson in this: a dispute should be put out, even if you take the first step.
The Levites too count as outsiders here: only the kohanim, the descendants of Aharon (Aaron), may burn incense. The words "through Moshe" in the Torah are literally "by the hand of Moshe", hence the hint of the leprous hand.