Авот 5:17 Комментарий: Bartenura, Rambam, Tosafot Yom Tov & Ikar Tosafot Yom Tov

כָּל מַחֲלֹקֶת שֶׁהִיא לְשֵׁם שָׁמַיִם, סוֹפָהּ לְהִתְקַיֵּם. וְשֶׁאֵינָהּ לְשֵׁם שָׁמַיִם, אֵין סוֹפָהּ לְהִתְקַיֵּם. אֵיזוֹ הִיא מַחֲלֹקֶת שֶׁהִיא לְשֵׁם שָׁמַיִם, זוֹ מַחֲלֹקֶת הִלֵּל וְשַׁמַּאי. וְשֶׁאֵינָהּ לְשֵׁם שָׁמַיִם, זוֹ מַחֲלֹקֶת קֹרַח וְכָל עֲדָתוֹ:

Каждый аргумент ради Небес —конец [для сторон этого аргумента] терпеть, [как в споре между Бет Гилель и Бет Шаммай, где ни одна из сторон в споре (ученики) не была потеряна (в отличие от Кораха и его общины, которые были потеряны). Или: «конец»—желаемый конец аргумента. В аргументации ради Небес желаемая цель - достичь истины. И это было достигнуто в споре между Бет Гилель и Бет Шаммай— что Галаха соответствует Бет Гилель.] И аргумент, который не ради Небес —[желаемый] конец, [сила и любовь к завоеванию] не терпят. [И так мы находим в аргументации Кораха и его конгрегации. Их конец был достижением славы и силы—и произошло обратное.] Что за аргумент во имя небес? Спор между Гилелем и Шаммаем. И (что является аргументом), что не ради Небес? Аргумент о Корахе и всей его общине.

Bartenura

Every argument that is for [the sake of] heaven's name, it is destined (literally, its end is) to endure: That is to say that the [parties to] the argument are destined to endure and not perish, as with the argument between Hillel and Shammai, [whereby] neither the students of the School of Hillel nor the students of the School of Shammai perished. But Korach and his congregation perished. And I heard the explanation of “its end” is its purpose that is sought from its subject. And [with] the argument which is for the sake of Heaven, the purpose and aim that is sought from that argument is to arrive at the truth, and this endures; like that which they said, "From a dispute the truth will be clarified," and as it became elucidated from the argument between Hillel and Shammai - that the law was like the school of Hillel. And [with] argument which is not for the sake of Heaven, its desired purpose is to achieve power and the love of contention, and its end will not endure; as we found in the argument of Korach and his congregation - that their aim and ultimate intent was to achieve honor and power, and the opposite was [achieved].

Rambam

This is all clear, as these matters are from the angle of reward and punishment. So that anyone who disagrees not with the intention to contradict the words of his fellow but from his wanting to know the truth, his words will endure and not end.

Tosafot Yom Tov

THE DISPUTE OF HILLEL AND SHAMMAI. Their students did not fully absorb their ways and teachings, and from that point on disputes became more common among the Torah scholars. This is why the mishna chooses their dispute as an example. Accordingly, the beginning of the mishna does not contradict the end.232Just as in the previous mishna, it would seem that any dispute that is not on the same level as a dispute between Hillel and Shammai is not “for the sake of Heaven”. The end of the mishna, however, makes it clear that only a dispute like that of Korach and his followers is considered “not for the sake of Heaven.” Tosafot Yom Tov clarifies that the dispute of Hillel and Shammai is merely an example, and other disputes that are for the sake of truth and not for personal gain would likewise be called “for the sake of Heaven.”