The Trolley Problem
Imagine that you’re at the controls of a railway switch and there’s an out-of-control trolley coming. The tracks branch into two, one track that leads to a group of five people, and the other to one person. If you do nothing, the trolley will smash into the five people. But if you flip the switch, it’ll change tracks and strike the lone person. What do you do?
בני גלילא דנפק עלייהו קלא דקטול נפשא אתו לקמיה דרבי טרפון אמרו ליה לטמרינן מר אמר להו היכי נעביד אי לא אטמרינכו חזו יתייכו אטמרינכו הא אמור רבנן האי לישנא בישא אע"ג דלקבולי לא מבעי מיחש ליה מבעי זילו אתון טמרו נפשייכו
These were the sons of the Galileans about whom a rumour spread that they killed a person. They came before R' Tarfon and said to him: "The master should hide us[from the authorities]" He said to them "What should I do"? If I don't hide you [the authorities] will see you [and execute you, on the other hand], should I hide you? The rabbis said: this is Lashon Hara, and although one should not accept it as truth, one should be mindful of it. You go hide yourselves.
(ה) נָשִׁים שֶׁאָמְרוּ לָהֶם עוֹבְדֵי כּוֹכָבִים תְּנוּ לָנוּ אַחַת מִכֶּן וּנְטַמֵּא אוֹתָהּ וְאִם לָאו נְטַמֵּא אֶת כֻּלְּכֶן יִטָּמְאוּ כֻּלָּן וְאַל יִמְסְרוּ לָהֶם נֶפֶשׁ אַחַת מִיִּשְׂרָאֵל. וְכֵן אִם אָמְרוּ לָהֶם עוֹבְדֵי כּוֹכָבִים תְּנוּ לָנוּ אֶחָד מִכֶּם וְנַהַרְגֶּנּוּ וְאִם לָאו נַהֲרֹג כֻּלְּכֶם. יֵהָרְגוּ כֻּלָּם וְאַל יִמְסְרוּ לָהֶם נֶפֶשׁ אַחַת מִיִּשְׂרָאֵל. וְאִם יִחֲדוּהוּ לָהֶם וְאָמְרוּ תְּנוּ לָנוּ פְּלוֹנִי אוֹ נַהֲרֹג אֶת כֻּלְּכֶם. אִם הָיָה מְחֻיָּב מִיתָה כְּשֶׁבַע בֶּן בִּכְרִי יִתְּנוּ אוֹתוֹ לָהֶם. וְאֵין מוֹרִין לָהֶם כֵּן לְכַתְּחִלָּה. וְאִם אֵינוֹ חַיָּב מִיתָה יֵהָרְגוּ כֻּלָּן וְאַל יִמְסְרוּ לָהֶם נֶפֶשׁ אַחַת מִיִּשְׂרָאֵל:
(5) If idolaters will demand one of a group of women, saying: "Yield us one of among you and we will defile her, if not we will defile you all", let all be defiled, rather than surrender to them one soul in Israel.4Terumot, 8.12. C. G. Likewise, if idolaters will say to a group of men: "Yield us one of you and we will kill him, if not we will kill you all", let all of them be killed rather than surrender to them one soul in Israel. If, however, they single out the one, saying: "Give us that man, if not we will kill you all", if he be guilty of a capital crime, as, for example, Sheba son of Bichri5See Second Samuel; 20. 1. G., they may surrender him to them, but it is not commendable to advise them to do so; if he be not guilty of a capital crime, they all must submit rather than surrender them one soul in Israel.
The Gemara asks: And Rabbi Yoḥanan, what does he do with this verse: “And your brother shall live with you”? The Gemara answers: He requires the verse for that which is taught in a baraita: If two people were walking on a desolate path and there was a jug [kiton] of water in the possession of one of them, and the situation was such that if both drink from the jug, both will die, as there is not enough water, but if only one of them drinks, he will reach a settled area, there is a dispute as to the halakha. Ben Petora taught: It is preferable that both of them drink and die, and let neither one of them see the death of the other. This was the accepted opinion until Rabbi Akiva came and taught that the verse states: “And your brother shall live with you,” indicating that your life takes precedence over the life of the other.