> Rabbi Eliezer then said to them: If the halakha is in accordance with my opinion, Heaven will prove it. A Divine Voice emerged from Heaven and said: Why are you differing with Rabbi Eliezer, as the halakha is in accordance with his opinion in every place that he expresses an opinion? Rabbi Yehoshua stood on his feet and said: It is written: “It is not in heaven” (Deuteronomy 30:12). The Gemara asks: What is the relevance of the phrase “It is not in heaven” in this context? Rabbi Yirmeya says: Since the Torah was already given at Mount Sinai, we do not regard a Divine Voice, as You already wrote at Mount Sinai, in the Torah: “After a majority to incline” (Exodus 23:2). Since the majority of Rabbis disagreed with Rabbi Eliezer’s opinion, the halakha is not ruled in accordance with his opinion. The Gemara relates: Years after, Rabbi Natan encountered Elijah the prophet and said to him: What did the Holy One, Blessed be He, do at that time, when Rabbi Yehoshua issued his declaration? Elijah said to him: The Holy One, Blessed be He, smiled and said: My children have triumphed over Me; My children have triumphed over Me.
- Bava Metziah 59b
https://link.chabad.org/torah-texts/5455793/The-Talmud/Bava-...