Vayikra27:32

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

And every tithe of the herd and the flock, all that passes under the staff, the tenth shall be holy to the Eternal.

Vayikra 27:32

וְכָל־מַעְשַׂר בָּקָר וָצֹאן

Vayikra / Leviticus 27:32 · Sod

Vayikra 27:32

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

And every tithe of the herd and the flock, all that passes under the staff, the tenth shall be holy to the Eternal.

Sod סוֹד

The tenth level

Sometimes it seems that someone received honour he did not earn. And sometimes a person feels that closeness to the Eternal comes and goes. What does the tenth animal under the staff say about this?

Mei HaShiloach: the tenth animal is not chosen, it simply turns out tenth under the staff. So too a person whom the Eternal has raised: even if he seems unworthy, do not speak ill of him, he is marked for the Eternal. Noam Elimelech: "the tenth shall be holy" is the highest, tenth level of holiness. Cleaving to the Eternal comes and goes, and even one who reaches the tenth level sees only "the tops of the mountains," for the service of the Creator has no end.

How Mei HaShiloach and Noam Elimelech explain it

Mei HaShiloach The tenth shall be holy to the Eternal

"And every tithe of the herd and the flock, all that passes under the staff, the tenth shall be holy to the Eternal" and so on, "and he shall not exchange it" (Vayikra / Leviticus 27:32–33). That is: when the Eternal, blessed is He, raises up a soul of Israel, even if it seems to you that the person is unworthy, you have no right to speak ill of him. For he passed under the staff, he is the tenth, and he was marked with red paint: he belongs to the Eternal, the Eternal, blessed is He, desires his honour, and surely he is worthy of being raised.

Noam Elimelech The tenth shall be holy

"And the waters kept decreasing until the tenth month" (Bereshit / Genesis 8:5). "The waters": the holy Torah is called water, as it says: "All who are thirsty, come to the water" (Yeshayahu / Isaiah 55:1). This is the holiness and cleaving (דְּבֵקוּת) in a person. "Kept decreasing": for it cannot be constant: sometimes he cleaves and sometimes it is lacking, that is, the cleaving is broken off, as it is said: "reaches and does not reach."

"Until the tenth month": that is, until the tenth level, the highest holiness, is renewed in him: "the tenth shall be holy." "On the first of the month the tops of the mountains were seen": that is, though he has come to this level, to complete oneness, still only the tops of the mountains were seen in him: he has come so far only to part of holiness, for the service of the Creator, blessed is He, is a thing that has no end.

Takeaway

The words "month" (חֹדֶשׁ) and "is renewed" (נִתְחַדֵּשׁ) come from one root, חדש, "new." Noam Elimelech builds his reading on this: "the tenth month" is the renewal of the tenth level.
"Reaches and does not reach" (מָטֵי וְלָא מָטֵי) is an Aramaic phrase of the Kabbalists for light that comes and withdraws.
The red paint on the staff comes from Rashi's explanation of this verse. Mei HaShiloach sees in it the sign by which the Eternal marks the chosen one.