Vayikra21:1

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

And the Eternal said to Moshe (Moses): "Say to the kohanim, the sons of Aharon (Aaron), and say to them: None shall make himself impure for a dead person among his people,

Vayikra 21:1

וַיֹּאמֶר יְהוָה אֶל־מֹשֶׁה

Vayikra / Leviticus 21:1 · Sod

Vayikra 21:1

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

And the Eternal said to Moshe (Moses): "Say to the kohanim, the sons of Aharon (Aaron), and say to them: None shall make himself impure for a dead person among his people,

Sod סוֹד

A service of joy

There are people near whom things grow brighter. What must they guard against more than others?

Mei HaShiloach: the cook in the parable is the one who prepares joy for the king, so he must not bring sadness. The kohanim were chosen to bring joy down into the world, and they must not cause the opposite. Noam Elimelech: "to warn the great about the small" means the great tzaddikim about small sins that are easy to miss.

How Mei HaShiloach and Noam Elimelech explain it

Mei HaShiloach Say to the kohanim

In Midrash Tanchuma there is a parable of a king who said to his cook: "I beg you, never in your life look at a dead person, so as not to make my palace impure." The cook is the man appointed to prepare joy for the king. That is why the king warned him: since your service is to add to my joy, see that you do not cause sadness, for the sight of a dead person is the opposite of joy.

This is the meaning of "say to the kohanim": let them see that they do not cause the opposite, since they were chosen to bring joy down into the world and by their service to give joy to the Holy One, blessed is He.

Noam Elimelech And say to them

Rashi explained: "say" and "say to them", to warn the great (גְּדוֹלִים) about the small (קְטַנִּים). One can say that Rashi means: "to warn the great", that is, the great tzaddikim, "about the small", about the small sins that a person tramples with his heel.

Takeaway

The parable of the cook is in Midrash Tanchuma (Tanchuma, Emor 1).
In Rashi the great (גְּדוֹלִים) are the adults and the small (קְטַנִּים) are the children. Noam Elimelech reads the same words as great tzaddikim and small sins.
Sins "that a person tramples with his heel" is what the Talmud calls small offences that people stop noticing (Avodah Zarah 18a).