Commentary for Parah 7:9
מִי שֶׁהָיוּ מֵימָיו עַל כְּתֵפוֹ וְהוֹרָה הוֹרָאָה, וְהֶרְאָה לַאֲחֵרִים אֶת הַדֶּרֶךְ, וְהָרַג נָחָשׁ וְעַקְרָב, וְנָטַל אֳכָלִים לְהַצְנִיעָם, פָּסוּל. אֳכָלִין לְאָכְלָן, כָּשֵׁר. הַנָּחָשׁ וְהָעַקְרָב שֶׁהָיוּ מְעַכְּבִים אוֹתוֹ, כָּשֵׁר. אָמַר רַבִּי יְהוּדָה, זֶה הַכְּלָל, כָּל דָּבָר שֶׁהוּא מִשּׁוּם מְלָאכָה, בֵּין עָמַד בֵּין לֹא עָמַד, פָּסוּל. דָּבָר שֶׁאֵינוֹ מִשּׁוּם מְלָאכָה, עָמַד, פָּסוּל. וְאִם לֹא עָמַד, כָּשֵׁר:
One whose waters were on his shoulders and he taught a halachic teaching, showed others the path, killed a snake or a scorpion, or took foods to hide them, it [the water] is invalid. If [he took] food to eat, it is valid; or [killed] a snake or scorpion that were impeding him, it is valid. Rabbi Yehuda says: This is the rule: Anything which is a kind of work, whether or not he stopped [and delayed his way], it is invalid. Anything which is not a kind of work, if he stopped [and delayed his way], it is invalid, and if he did not stop, it is valid.
Bartenura on Mishnah Parah
English Explanation of Mishnah Parah
Rabbi Judah said: this is the general rule: If the act was is in the nature of work, the mixture is invalid whether the man stopped or not, If it was not in the nature of work: If he stopped, it is invalid;
But if he did not stop it remains valid.
Section one: In all of these cases, the action is considered work and it invalidates the water that he is carrying from being used for the red cow ritual. However, the mishnah goes on to list circumstances in which said action doesn't invalidate the water.
When it comes to picking up food, it depends what his purpose is. If he picked it up to store it away, it counts as work and the water is invalid. However, if he picked it up in order to eat it, it doesn't count as work. Eating, in other words, is not work.
If he killed the snake or scorpion because it was hindering his progress, the water remains valid. Actions he needs to do in order to simply progress on his way do not invalidate the water.
Section two: Rabbi Judah sets up a general principle that relates to these types of situation, and show that issuing a ruling or giving someone directions also do not always disqualify the water. If an action was done in the nature of work, meaning it is something that is generally considered to be work, then it doesn't matter whether he stopped on the path or not, it disqualifies the water he is carrying. In other words, the mere action itself is disqualifying.
However, if it is not a matter of work, such as issuing a ruling or showing someone the way, then it depends on whether he stopped or not. If he stopped, then this stoppage to perform another action can invalidate the water. But if he did not stop, then the water remains valid.