The Talmud
מגילה דף י״גMegillah 13a
Amud a of Megillah 13 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Megillah 13a · מגילה י״ג א
דלא קטליה דוד לשמעי דאתיליד מיניה מרדכי דמיקני ביה המן ומה שילם לי ימיני דלא קטליה שאול לאגג דאתיליד מיניה המן דמצער לישראל
— that David did not slay Shimei, from whom Mordecai was born, of whom Haman was jealous. "And what a Benjamite repaid me" — that Saul did not slay Agag, from whom Haman was born, who afflicted Israel.
רבי יוחנן אמר לעולם מבנימן קאתי ואמאי קרי ליה יהודי על שום שכפר בע"ז שכל הכופר בע"ז נקרא יהודי כדכתיב (דניאל ג, יב) איתי גוברין יהודאין וגו'
Rabbi Yochanan said: actually he came from Benjamin; and why does it call him a Jew? Because he denied idolatry, for everyone who denies idolatry is called a Jew, as it is written "there are certain Jews", and so forth (Daniel 3:12).
רבי שמעון בן פזי כי הוה פתח בדברי הימים אמר הכי כל דבריך אחד הם ואנו יודעין לדורשן (דברי הימים א ד, יח) ואשתו היהודיה ילדה את ירד אבי גדור ואת חבר אבי שוכו ואת יקותיאל אבי זנוח ואלה בני בתיה בת פרעה אשר לקח מרד
Rabbi Shimon ben Pazi, when he would begin upon Chronicles, would say thus: all Your words are one, and we know how to expound them. "And his wife Ha-Yehudiyah bore Jered the father of Gedor, and Heber the father of Socho, and Jekuthiel the father of Zanoah; and these are the sons of Bithiah the daughter of Pharaoh whom Mered took" (I Chronicles 4:18).
אמאי קרי לה יהודיה על שום שכפרה בע"ז דכתיב (שמות ב, ה) ותרד בת פרעה לרחוץ על היאור ואמר רבי יוחנן שירדה לרחוץ מגילולי בית אביה
Why does it call her Yehudiyah? Because she denied idolatry, as it is written "and the daughter of Pharaoh came down to bathe in the river" (Exodus 2:5), and Rabbi Yochanan said: she came down to bathe herself of the idols of her father's house.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.