Tamar and Judah: A 3-Act Story

Context: "Tamar" means "palm tree". These are date palms from near Jericho (June 2023).

The Story of Tamar and Judah "on one foot":

After Joseph was sold to the Ishmaelites, Judah separates from his brothers and gets married. This story explains what happens to Judah's daughter-in-law.

Act 1

(א) וַֽיְהִי֙ בָּעֵ֣ת הַהִ֔וא וַיֵּ֥רֶד יְהוּדָ֖ה מֵאֵ֣ת אֶחָ֑יו וַיֵּ֛ט עַד־אִ֥ישׁ עֲדֻלָּמִ֖י וּשְׁמ֥וֹ חִירָֽה׃ (ב) וַיַּרְא־שָׁ֧ם יְהוּדָ֛ה בַּת־אִ֥ישׁ כְּנַעֲנִ֖י וּשְׁמ֣וֹ שׁ֑וּעַ וַיִּקָּחֶ֖הָ וַיָּבֹ֥א אֵלֶֽיהָ׃ (ג) וַתַּ֖הַר וַתֵּ֣לֶד בֵּ֑ן וַיִּקְרָ֥א אֶת־שְׁמ֖וֹ עֵֽר׃ (ד) וַתַּ֥הַר ע֖וֹד וַתֵּ֣לֶד בֵּ֑ן וַתִּקְרָ֥א אֶת־שְׁמ֖וֹ אוֹנָֽן׃ (ה) וַתֹּ֤סֶף עוֹד֙ וַתֵּ֣לֶד בֵּ֔ן וַתִּקְרָ֥א אֶת־שְׁמ֖וֹ שֵׁלָ֑ה וְהָיָ֥ה בִכְזִ֖יב בְּלִדְתָּ֥הּ אֹתֽוֹ׃ (ו) וַיִּקַּ֧ח יְהוּדָ֛ה אִשָּׁ֖ה לְעֵ֣ר בְּכוֹר֑וֹ וּשְׁמָ֖הּ תָּמָֽר׃ (ז) וַיְהִ֗י עֵ֚ר בְּכ֣וֹר יְהוּדָ֔ה רַ֖ע בְּעֵינֵ֣י יְהֹוָ֑ה וַיְמִתֵ֖הוּ יְהֹוָֽה׃ (ח) וַיֹּ֤אמֶר יְהוּדָה֙ לְאוֹנָ֔ן בֹּ֛א אֶל־אֵ֥שֶׁת אָחִ֖יךָ וְיַבֵּ֣ם אֹתָ֑הּ וְהָקֵ֥ם זֶ֖רַע לְאָחִֽיךָ׃ (ט) וַיֵּ֣דַע אוֹנָ֔ן כִּ֛י לֹּ֥א ל֖וֹ יִהְיֶ֣ה הַזָּ֑רַע וְהָיָ֞ה אִם־בָּ֨א אֶל־אֵ֤שֶׁת אָחִיו֙ וְשִׁחֵ֣ת אַ֔רְצָה לְבִלְתִּ֥י נְתׇן־זֶ֖רַע לְאָחִֽיו׃ (י) וַיֵּ֛רַע בְּעֵינֵ֥י יְהֹוָ֖ה אֲשֶׁ֣ר עָשָׂ֑ה וַיָּ֖מֶת גַּם־אֹתֽוֹ׃ (יא) וַיֹּ֣אמֶר יְהוּדָה֩ לְתָמָ֨ר כַּלָּת֜וֹ שְׁבִ֧י אַלְמָנָ֣ה בֵית־אָבִ֗יךְ עַד־יִגְדַּל֙ שֵׁלָ֣ה בְנִ֔י כִּ֣י אָמַ֔ר פֶּן־יָמ֥וּת גַּם־ה֖וּא כְּאֶחָ֑יו וַתֵּ֣לֶךְ תָּמָ֔ר וַתֵּ֖שֶׁב בֵּ֥ית אָבִֽיהָ׃

(1) About that time Judah left his brothers and camped near a certain Adullamite whose name was Hirah. (2) There Judah saw the daughter of a certain Canaanite whose name was Shua, and he took her [into his household as wife] and cohabited with her. (3) She conceived and bore a son, and he named him Er. (4) She conceived again and bore a son, and named him Onan. (5) Once again she bore a son, and named him Shelah; he was at Chezib when she bore him. (6) Judah got a wife for Er his first-born; her name was Tamar. (7) But Er, Judah’s first-born, was displeasing to יהוה, and יהוה took his life. (8) Then Judah said to Onan, “Join with your brother’s wife and do your duty by her as a brother-in-law, and provide offspring for your brother.” (9) But Onan, knowing that the offspring would not count as his, let [the semen] go to waste whenever he joined with his brother’s wife, so as not to provide offspring for his brother. (10) What he did was displeasing to יהוה, who took his life also. (11) Then Judah said to his daughter-in-law Tamar, “Stay as a widow in your father’s house until my son Shelah grows up”—for he thought, “He too might die like his brothers.” So Tamar went to live in her father’s house.

Context: This happens after Joseph gets sold to the Ishmaelites by his brothers and the brothers tell Jacob that his son has died. The Midrash wonders why the story is put here and concludes that Judah is going to find out what it’s like to have a child die just like he inflicted that pain on Jacob. (Tanchuma Buber, Vayigash 10:3)

Note that Judah marries the daughter of Shua; Shua is not the name of his wife. The Midrash names Judah’s wife “Aliyah” (Sefer HaYashar, Vayeshev 22). “Tamar” means “date palm”, which flowers in the desert and has fruit that is super-sweet. The idea of an unmarried brother marrying his deceased brother’s wife is called “yibbum”, or “levirate marriage”, and both ensures that the deceased has a continued lineage and also that the widow stays part of the clan. Levirate marriage only applies if the deceased brother did not already have a child. Later in the Torah there was a way to refuse to do levirate marriage (Deut. 25:7-9), but that doesn’t seem to have been an option here.

1. At what points could this part of the story have turned out differently?

2. Since the text is silent on this, make up a midrash -- what might Er have done that was displeasing to G-d?

3. How might Tamar have felt about Onan's refusal to give her a child that would be considered his brother's lineage?

4. Why might Onan have not wanted to give a child to his brother's lineage?

5. Should Judah have given his youngest son to Tamar as a spouse? And if he didn’t want to, what could he have done instead?

Act 2

(יב) וַיִּרְבּוּ֙ הַיָּמִ֔ים וַתָּ֖מׇת בַּת־שׁ֣וּעַ אֵֽשֶׁת־יְהוּדָ֑ה וַיִּנָּ֣חֶם יְהוּדָ֗ה וַיַּ֜עַל עַל־גֹּֽזְזֵ֤י צֹאנוֹ֙ ה֗וּא וְחִירָ֛ה רֵעֵ֥הוּ הָעֲדֻלָּמִ֖י תִּמְנָֽתָה׃ (יג) וַיֻּגַּ֥ד לְתָמָ֖ר לֵאמֹ֑ר הִנֵּ֥ה חָמִ֛יךְ עֹלֶ֥ה תִמְנָ֖תָה לָגֹ֥ז צֹאנֽוֹ׃ (יד) וַתָּ֩סַר֩ בִּגְדֵ֨י אַלְמְנוּתָ֜הּ מֵֽעָלֶ֗יהָ וַתְּכַ֤ס בַּצָּעִיף֙ וַתִּתְעַלָּ֔ף וַתֵּ֙שֶׁב֙ בְּפֶ֣תַח עֵינַ֔יִם אֲשֶׁ֖ר עַל־דֶּ֣רֶךְ תִּמְנָ֑תָה כִּ֤י רָאֲתָה֙ כִּֽי־גָדַ֣ל שֵׁלָ֔ה וְהִ֕וא לֹֽא־נִתְּנָ֥ה ל֖וֹ לְאִשָּֽׁה׃ (טו) וַיִּרְאֶ֣הָ יְהוּדָ֔ה וַֽיַּחְשְׁבֶ֖הָ לְזוֹנָ֑ה כִּ֥י כִסְּתָ֖ה פָּנֶֽיהָ׃ (טז) וַיֵּ֨ט אֵלֶ֜יהָ אֶל־הַדֶּ֗רֶךְ וַיֹּ֙אמֶר֙ הָֽבָה־נָּא֙ אָב֣וֹא אֵלַ֔יִךְ כִּ֚י לֹ֣א יָדַ֔ע כִּ֥י כַלָּת֖וֹ הִ֑וא וַתֹּ֙אמֶר֙ מַה־תִּתֶּן־לִ֔י כִּ֥י תָב֖וֹא אֵלָֽי׃ (יז) וַיֹּ֕אמֶר אָנֹכִ֛י אֲשַׁלַּ֥ח גְּדִֽי־עִזִּ֖ים מִן־הַצֹּ֑אן וַתֹּ֕אמֶר אִם־תִּתֵּ֥ן עֵרָב֖וֹן עַ֥ד שָׁלְחֶֽךָ׃ (יח) וַיֹּ֗אמֶר מָ֣ה הָעֵֽרָבוֹן֮ אֲשֶׁ֣ר אֶתֶּן־לָךְ֒ וַתֹּ֗אמֶר חֹתָֽמְךָ֙ וּפְתִילֶ֔ךָ וּמַטְּךָ֖ אֲשֶׁ֣ר בְּיָדֶ֑ךָ וַיִּתֶּן־לָ֛הּ וַיָּבֹ֥א אֵלֶ֖יהָ וַתַּ֥הַר לֽוֹ׃ (יט) וַתָּ֣קׇם וַתֵּ֔לֶךְ וַתָּ֥סַר צְעִיפָ֖הּ מֵעָלֶ֑יהָ וַתִּלְבַּ֖שׁ בִּגְדֵ֥י אַלְמְנוּתָֽהּ׃ (כ) וַיִּשְׁלַ֨ח יְהוּדָ֜ה אֶת־גְּדִ֣י הָֽעִזִּ֗ים בְּיַד֙ רֵעֵ֣הוּ הָֽעֲדֻלָּמִ֔י לָקַ֥חַת הָעֵרָב֖וֹן מִיַּ֣ד הָאִשָּׁ֑ה וְלֹ֖א מְצָאָֽהּ׃ (כא) וַיִּשְׁאַ֞ל אֶת־אַנְשֵׁ֤י מְקֹמָהּ֙ לֵאמֹ֔ר אַיֵּ֧ה הַקְּדֵשָׁ֛ה הִ֥וא בָעֵינַ֖יִם עַל־הַדָּ֑רֶךְ וַיֹּ֣אמְר֔וּ לֹא־הָיְתָ֥ה בָזֶ֖ה קְדֵשָֽׁה׃ (כב) וַיָּ֙שׇׁב֙ אֶל־יְהוּדָ֔ה וַיֹּ֖אמֶר לֹ֣א מְצָאתִ֑יהָ וְגַ֨ם אַנְשֵׁ֤י הַמָּקוֹם֙ אָֽמְר֔וּ לֹא־הָיְתָ֥ה בָזֶ֖ה קְדֵשָֽׁה׃ (כג) וַיֹּ֤אמֶר יְהוּדָה֙ תִּֽקַּֽח־לָ֔הּ פֶּ֖ן נִהְיֶ֣ה לָב֑וּז הִנֵּ֤ה שָׁלַ֙חְתִּי֙ הַגְּדִ֣י הַזֶּ֔ה וְאַתָּ֖ה לֹ֥א מְצָאתָֽהּ׃

(12) A long time afterward, Shua’s daughter, the wife of Judah, died. When his period of mourning was over, Judah went up to Timnah to his sheepshearers, together with his friend Hirah the Adullamite. (13) And Tamar was told, “Your father-in-law is coming up to Timnah for the sheepshearing.” (14) So she took off her widow’s garb, covered her face with a veil, and, wrapping herself up, sat down at the entrance to Enaim [or at “Petach Enayim”], which is on the road to Timnah; for she saw that Shelah was grown up, yet she had not been given to him as wife. (15) When Judah saw her, he took her for a harlot; for she had covered her face. (16) So he turned aside to her by the road and said, “Here, let me sleep with you”—for he did not know that she was his daughter-in-law. “What,” she asked, “will you pay for sleeping with me?” (17) He replied, “I will send a kid from my flock.” But she said, “You must leave a pledge until you have sent it.” (18) And he said, “What pledge shall I give you?” She replied, “Your seal and cord, and the staff which you carry.” So he gave them to her and slept with her, and she conceived by him. (19) Then she went on her way. She took off her veil and again put on her widow’s garb. (20) Judah sent the kid by his friend the Adullamite, to redeem the pledge from the woman; but he could not find her. (21) He inquired of the council of that locale, “Where is the prostitute, the one at Enaim, by the road?” But they said, “There has been no prostitute here.” (22) So he returned to Judah and said, “I could not find her; moreover, the local council said: There has been no prostitute here.” (23) Judah said, “Let her keep them, lest we become a laughingstock. I did send her this kid, but you did not find her.”

Context: At this point in the story, Tamar is associated with the death of two husbands. She has no spouse and no children, and she can’t remarry because she is supposed to be waiting for Shelah to be given to her in marriage.

A “seal and cord” was a hard hollow cylinder that people wore around their necks with a unique design on it. It functioned like a signature. Walking sticks also had unique markings or additions to them. These all have been found by archeologists in the Near East.

1. At what points could this part of the story have turned out differently?

2. Tamar, like Sarah, Rebecca, Rachel, and Hannah, has no child, particularly not one connected with her (first) husband. What were her options?

3. Avoiding the Sarah Route (resignation), the Rebecca Route (delegation of prayer), the Rachel Route (despair), and the Hannah Route (prayer), Tamar takes action. How might she have been feeling before Judah encountered her?

4. Why is Judah worried about becoming a laughingstock?

5. The phrase “sat down at the entrance to Eynayim” could also be translated as “sat down at ‘Petach Eynayim’ “, meaning “sat down at ‘Opening the Eyes’ “. Whose eyes are opened at this spot and how? Whose eyes are deceived?

Act 3

(כד) וַיְהִ֣י ׀ כְּמִשְׁלֹ֣שׁ חֳדָשִׁ֗ים וַיֻּגַּ֨ד לִֽיהוּדָ֤ה לֵֽאמֹר֙ זָֽנְתָה֙ תָּמָ֣ר כַּלָּתֶ֔ךָ וְגַ֛ם הִנֵּ֥ה הָרָ֖ה לִזְנוּנִ֑ים וַיֹּ֣אמֶר יְהוּדָ֔ה הוֹצִיא֖וּהָ וְתִשָּׂרֵֽף׃ (כה) הִ֣וא מוּצֵ֗את וְהִ֨יא שָׁלְחָ֤ה אֶל־חָמִ֙יהָ֙ לֵאמֹ֔ר לְאִישׁ֙ אֲשֶׁר־אֵ֣לֶּה לּ֔וֹ אָנֹכִ֖י הָרָ֑ה וַתֹּ֙אמֶר֙ הַכֶּר־נָ֔א לְמִ֞י הַחֹתֶ֧מֶת וְהַפְּתִילִ֛ים וְהַמַּטֶּ֖ה הָאֵֽלֶּה׃ (כו) וַיַּכֵּ֣ר יְהוּדָ֗ה וַיֹּ֙אמֶר֙ צָֽדְקָ֣ה מִמֶּ֔נִּי כִּֽי־עַל־כֵּ֥ן לֹא־נְתַתִּ֖יהָ לְשֵׁלָ֣ה בְנִ֑י וְלֹֽא־יָסַ֥ף ע֖וֹד לְדַעְתָּֽהּ׃ (כז) וַיְהִ֖י בְּעֵ֣ת לִדְתָּ֑הּ וְהִנֵּ֥ה תְאוֹמִ֖ים בְּבִטְנָֽהּ׃ (כח) וַיְהִ֥י בְלִדְתָּ֖הּ וַיִּתֶּן־יָ֑ד וַתִּקַּ֣ח הַמְיַלֶּ֗דֶת וַתִּקְשֹׁ֨ר עַל־יָד֤וֹ שָׁנִי֙ לֵאמֹ֔ר זֶ֖ה יָצָ֥א רִאשֹׁנָֽה׃ (כט) וַיְהִ֣י ׀ כְּמֵשִׁ֣יב יָד֗וֹ וְהִנֵּה֙ יָצָ֣א אָחִ֔יו וַתֹּ֕אמֶר מַה־פָּרַ֖צְתָּ עָלֶ֣יךָ פָּ֑רֶץ וַיִּקְרָ֥א שְׁמ֖וֹ פָּֽרֶץ׃ (ל) וְאַחַר֙ יָצָ֣א אָחִ֔יו אֲשֶׁ֥ר עַל־יָד֖וֹ הַשָּׁנִ֑י וַיִּקְרָ֥א שְׁמ֖וֹ זָֽרַח׃ {ס}

(24) About three months later, Judah was told, “Your daughter-in-law Tamar has played the harlot; in fact, she is pregnant from harlotry.” “Bring her out,” said Judah. “She should be burned!” (25) As she was being brought out, she sent this message to her father-in-law, “It’s by the man to whom these belong that I’m pregnant.” And she added, “Examine these: whose seal and cord and staff are these?” (26) Judah recognized them, and said, “She is more in the right than I, inasmuch as I did not give her to my son Shelah.” And he was not intimate with her again. (27) When the time came for her to give birth, there were twins in her womb! (28) While she was in labor, one of them put out a hand, and the midwife tied a crimson thread on that hand, to signify: This one came out first. (29) But just then it drew back its hand, and out came its brother; and she said, “What a breach you have made for yourself!” So he was named Perez. (30) Afterward his brother came out, on whose hand was the crimson thread; he was named Zerach.

Context: Although Shelah doesn’t get married to Tamar (one of Judah’s goals), he must have gotten married because he is recorded as having a “clan” of descendants in Numbers (26:22). Also, because Peretz becomes a key figure, he gets a name explanation, though “Zerach” means “brightness” and that might refer to the crimson thread.

1. At what points could this part of the story have turned out differently?

2. Was it more or less effective to not call out Judah publicly?

3. Would you say that Tamar handled her situation well or did she make some poor choices?

4. Act 3 builds on what happened in Act 2 at “Petach Eynayim”, “Opening the Eyes”. How have Tamar’s eyes been opened now? How have Judah’s eyes been opened?

5. In Act 2, Tamar assumes a disguise in order to get what she wants. Yet this disguise also costs her, nearly causing her to lose her life. Only when she reveals who she is under the disguise and gets Judah to see who she really is can she move on without hiding herself. When has this happened in your life?

Epilogue

(יח) וְאֵ֙לֶּה֙ תּוֹלְד֣וֹת פָּ֔רֶץ פֶּ֖רֶץ הוֹלִ֥יד אֶת־חֶצְרֽוֹן׃ (יט) וְחֶצְרוֹן֙ הוֹלִ֣יד אֶת־רָ֔ם וְרָ֖ם הוֹלִ֥יד אֶת־עַמִּֽינָדָֽב׃ (כ) וְעַמִּֽינָדָב֙ הוֹלִ֣יד אֶת־נַחְשׁ֔וֹן וְנַחְשׁ֖וֹן הוֹלִ֥יד אֶת־שַׂלְמָֽה׃ (כא) וְשַׂלְמוֹן֙ הוֹלִ֣יד אֶת־בֹּ֔עַז וּבֹ֖עַז הוֹלִ֥יד אֶת־עוֹבֵֽד׃ (כב) וְעֹבֵד֙ הוֹלִ֣יד אֶת־יִשָׁ֔י וְיִשַׁ֖י הוֹלִ֥יד אֶת־דָּוִֽד׃
(18) This is the line of Perez: Perez begot Hezron, (19) Hezron begot Ram, Ram begot Amminadab, (20) Amminadab begot Nahshon, Nahshon begot Salmon, (21) Salmon begot Boaz, Boaz begot Obed, (22) Obed begot Jesse, and Jesse begot David.

Context: This is from the Book of Ruth. It shows that because of Tamar’s actions, we get to David. David becomes the ancestor of the Messiah. Tamar (and Ruth) is active in determining her fate, and her boldness is rewarded.

Context: This is by Alicia Jo Rabins, part of her "Girls in Trouble" musical midrash.

With appreciation to: Listen to Her Voice, by Miki Raver, Sarah Laughed, by Vanessa Ochs, Reading the Women of the Bible, by Tikva Frymer-Kensky, and Etz Chayim, by God.

A Readers’ Theatre Version of Tamar

Adapted from the Book of Genesis, Chapter 38, by David Schwartz

Act 1

(Setting: Canaan)

Narrator: Judah married and had three sons, Er, Onan, and Shelah. He married Er to Tamar. Er died.

Judah: Onan, marry Tamar and provide a child for your brother’s lineage.

Narrator: Onan married Tamar, but he refused to provide a child for Er’s lineage. Onan died too.

Judah: Tamar, you should go live in your father’s house until Shelah is old enough to get married.

Narrator: Judah was worried that if Shelah married Tamar then he would die like his brothers. And Tamar went to live in her father’s house.

Act 2

(Setting: A crossroads)

Narrator: A long time later, Judah’s wife died. After he had mourned for her, Judah went up to Timnah to shear his sheep.

Person: Tamar, your father-in-law is coming up to Timnah for the sheepshearing.

Narrator: Tamar saw that Shelah was old enough to get married yet hadn’t been given to her in marriage yet. She took off her widow’s garb, covered her face with a veil, wrapped herself up, and sat down at Petach Eynayim, on the way to Timnah. When Judah saw her, he thought she was a harlot, for her face was covered.

Judah: Let me be intimate with you.

Tamar: What will you pay me?

Judah: I will send a kid goat from my flock.

Tamar: You must leave a pledge until you have sent it.

Judah: What pledge shall I give you?

Tamar: Your seal and cord, and the staff which you carry.

Narrator: Judah gave these to her; they were intimate and she conceived. Then she went on her way. She took off her veil and put on her widow’s garb. Judah sent a goat with his friend Hiram in order to redeem his pledge, but Hiram couldn’t find the woman. He asked the council of the locale about her.

Council: There has been no harlot here.

Hiram: Judah, I couldn’t find her, and the council said there wasn’t a harlot in the area.

Judah: Let her keep the pledges then. I sent the goat, but you weren’t able to find her.

Act 3

(Setting: Canaan)

Narrator: Three months went by.

Person: Judah, your daughter-in-law Tamar has played the harlot. In fact, she is pregnant from harlotry.

Judah: Bring her out. She should be burned!

Tamar: Judah, it’s by the man to whom these belong that I am pregnant. Examine these: whose seal and cord and staff are these?

Judah: She is more in the right than I, inasmuch as I did not give her my son Shelah.

Narrator: Six months later, Tamar gave birth to twins. One put out his hand first, and the midwife tied a red string on it, but then it drew back its hand and the other one came out first. The one fully born first was named Peretz, and the one with the red string was named Zerach.

Appendix A: The Full Story

(א) וַֽיְהִי֙ בָּעֵ֣ת הַהִ֔וא וַיֵּ֥רֶד יְהוּדָ֖ה מֵאֵ֣ת אֶחָ֑יו וַיֵּ֛ט עַד־אִ֥ישׁ עֲדֻלָּמִ֖י וּשְׁמ֥וֹ חִירָֽה׃ (ב) וַיַּרְא־שָׁ֧ם יְהוּדָ֛ה בַּת־אִ֥ישׁ כְּנַעֲנִ֖י וּשְׁמ֣וֹ שׁ֑וּעַ וַיִּקָּחֶ֖הָ וַיָּבֹ֥א אֵלֶֽיהָ׃ (ג) וַתַּ֖הַר וַתֵּ֣לֶד בֵּ֑ן וַיִּקְרָ֥א אֶת־שְׁמ֖וֹ עֵֽר׃ (ד) וַתַּ֥הַר ע֖וֹד וַתֵּ֣לֶד בֵּ֑ן וַתִּקְרָ֥א אֶת־שְׁמ֖וֹ אוֹנָֽן׃ (ה) וַתֹּ֤סֶף עוֹד֙ וַתֵּ֣לֶד בֵּ֔ן וַתִּקְרָ֥א אֶת־שְׁמ֖וֹ שֵׁלָ֑ה וְהָיָ֥ה בִכְזִ֖יב בְּלִדְתָּ֥הּ אֹתֽוֹ׃ (ו) וַיִּקַּ֧ח יְהוּדָ֛ה אִשָּׁ֖ה לְעֵ֣ר בְּכוֹר֑וֹ וּשְׁמָ֖הּ תָּמָֽר׃ (ז) וַיְהִ֗י עֵ֚ר בְּכ֣וֹר יְהוּדָ֔ה רַ֖ע בְּעֵינֵ֣י יְהֹוָ֑ה וַיְמִתֵ֖הוּ יְהֹוָֽה׃ (ח) וַיֹּ֤אמֶר יְהוּדָה֙ לְאוֹנָ֔ן בֹּ֛א אֶל־אֵ֥שֶׁת אָחִ֖יךָ וְיַבֵּ֣ם אֹתָ֑הּ וְהָקֵ֥ם זֶ֖רַע לְאָחִֽיךָ׃ (ט) וַיֵּ֣דַע אוֹנָ֔ן כִּ֛י לֹּ֥א ל֖וֹ יִהְיֶ֣ה הַזָּ֑רַע וְהָיָ֞ה אִם־בָּ֨א אֶל־אֵ֤שֶׁת אָחִיו֙ וְשִׁחֵ֣ת אַ֔רְצָה לְבִלְתִּ֥י נְתׇן־זֶ֖רַע לְאָחִֽיו׃ (י) וַיֵּ֛רַע בְּעֵינֵ֥י יְהֹוָ֖ה אֲשֶׁ֣ר עָשָׂ֑ה וַיָּ֖מֶת גַּם־אֹתֽוֹ׃ (יא) וַיֹּ֣אמֶר יְהוּדָה֩ לְתָמָ֨ר כַּלָּת֜וֹ שְׁבִ֧י אַלְמָנָ֣ה בֵית־אָבִ֗יךְ עַד־יִגְדַּל֙ שֵׁלָ֣ה בְנִ֔י כִּ֣י אָמַ֔ר פֶּן־יָמ֥וּת גַּם־ה֖וּא כְּאֶחָ֑יו וַתֵּ֣לֶךְ תָּמָ֔ר וַתֵּ֖שֶׁב בֵּ֥ית אָבִֽיהָ׃ (יב) וַיִּרְבּוּ֙ הַיָּמִ֔ים וַתָּ֖מׇת בַּת־שׁ֣וּעַ אֵֽשֶׁת־יְהוּדָ֑ה וַיִּנָּ֣חֶם יְהוּדָ֗ה וַיַּ֜עַל עַל־גֹּֽזְזֵ֤י צֹאנוֹ֙ ה֗וּא וְחִירָ֛ה רֵעֵ֥הוּ הָעֲדֻלָּמִ֖י תִּמְנָֽתָה׃ (יג) וַיֻּגַּ֥ד לְתָמָ֖ר לֵאמֹ֑ר הִנֵּ֥ה חָמִ֛יךְ עֹלֶ֥ה תִמְנָ֖תָה לָגֹ֥ז צֹאנֽוֹ׃ (יד) וַתָּ֩סַר֩ בִּגְדֵ֨י אַלְמְנוּתָ֜הּ מֵֽעָלֶ֗יהָ וַתְּכַ֤ס בַּצָּעִיף֙ וַתִּתְעַלָּ֔ף וַתֵּ֙שֶׁב֙ בְּפֶ֣תַח עֵינַ֔יִם אֲשֶׁ֖ר עַל־דֶּ֣רֶךְ תִּמְנָ֑תָה כִּ֤י רָאֲתָה֙ כִּֽי־גָדַ֣ל שֵׁלָ֔ה וְהִ֕וא לֹֽא־נִתְּנָ֥ה ל֖וֹ לְאִשָּֽׁה׃ (טו) וַיִּרְאֶ֣הָ יְהוּדָ֔ה וַֽיַּחְשְׁבֶ֖הָ לְזוֹנָ֑ה כִּ֥י כִסְּתָ֖ה פָּנֶֽיהָ׃ (טז) וַיֵּ֨ט אֵלֶ֜יהָ אֶל־הַדֶּ֗רֶךְ וַיֹּ֙אמֶר֙ הָֽבָה־נָּא֙ אָב֣וֹא אֵלַ֔יִךְ כִּ֚י לֹ֣א יָדַ֔ע כִּ֥י כַלָּת֖וֹ הִ֑וא וַתֹּ֙אמֶר֙ מַה־תִּתֶּן־לִ֔י כִּ֥י תָב֖וֹא אֵלָֽי׃ (יז) וַיֹּ֕אמֶר אָנֹכִ֛י אֲשַׁלַּ֥ח גְּדִֽי־עִזִּ֖ים מִן־הַצֹּ֑אן וַתֹּ֕אמֶר אִם־תִּתֵּ֥ן עֵרָב֖וֹן עַ֥ד שָׁלְחֶֽךָ׃ (יח) וַיֹּ֗אמֶר מָ֣ה הָעֵֽרָבוֹן֮ אֲשֶׁ֣ר אֶתֶּן־לָךְ֒ וַתֹּ֗אמֶר חֹתָֽמְךָ֙ וּפְתִילֶ֔ךָ וּמַטְּךָ֖ אֲשֶׁ֣ר בְּיָדֶ֑ךָ וַיִּתֶּן־לָ֛הּ וַיָּבֹ֥א אֵלֶ֖יהָ וַתַּ֥הַר לֽוֹ׃ (יט) וַתָּ֣קׇם וַתֵּ֔לֶךְ וַתָּ֥סַר צְעִיפָ֖הּ מֵעָלֶ֑יהָ וַתִּלְבַּ֖שׁ בִּגְדֵ֥י אַלְמְנוּתָֽהּ׃ (כ) וַיִּשְׁלַ֨ח יְהוּדָ֜ה אֶת־גְּדִ֣י הָֽעִזִּ֗ים בְּיַד֙ רֵעֵ֣הוּ הָֽעֲדֻלָּמִ֔י לָקַ֥חַת הָעֵרָב֖וֹן מִיַּ֣ד הָאִשָּׁ֑ה וְלֹ֖א מְצָאָֽהּ׃ (כא) וַיִּשְׁאַ֞ל אֶת־אַנְשֵׁ֤י מְקֹמָהּ֙ לֵאמֹ֔ר אַיֵּ֧ה הַקְּדֵשָׁ֛ה הִ֥וא בָעֵינַ֖יִם עַל־הַדָּ֑רֶךְ וַיֹּ֣אמְר֔וּ לֹא־הָיְתָ֥ה בָזֶ֖ה קְדֵשָֽׁה׃ (כב) וַיָּ֙שׇׁב֙ אֶל־יְהוּדָ֔ה וַיֹּ֖אמֶר לֹ֣א מְצָאתִ֑יהָ וְגַ֨ם אַנְשֵׁ֤י הַמָּקוֹם֙ אָֽמְר֔וּ לֹא־הָיְתָ֥ה בָזֶ֖ה קְדֵשָֽׁה׃ (כג) וַיֹּ֤אמֶר יְהוּדָה֙ תִּֽקַּֽח־לָ֔הּ פֶּ֖ן נִהְיֶ֣ה לָב֑וּז הִנֵּ֤ה שָׁלַ֙חְתִּי֙ הַגְּדִ֣י הַזֶּ֔ה וְאַתָּ֖ה לֹ֥א מְצָאתָֽהּ׃ (כד) וַיְהִ֣י ׀ כְּמִשְׁלֹ֣שׁ חֳדָשִׁ֗ים וַיֻּגַּ֨ד לִֽיהוּדָ֤ה לֵֽאמֹר֙ זָֽנְתָה֙ תָּמָ֣ר כַּלָּתֶ֔ךָ וְגַ֛ם הִנֵּ֥ה הָרָ֖ה לִזְנוּנִ֑ים וַיֹּ֣אמֶר יְהוּדָ֔ה הוֹצִיא֖וּהָ וְתִשָּׂרֵֽף׃ (כה) הִ֣וא מוּצֵ֗את וְהִ֨יא שָׁלְחָ֤ה אֶל־חָמִ֙יהָ֙ לֵאמֹ֔ר לְאִישׁ֙ אֲשֶׁר־אֵ֣לֶּה לּ֔וֹ אָנֹכִ֖י הָרָ֑ה וַתֹּ֙אמֶר֙ הַכֶּר־נָ֔א לְמִ֞י הַחֹתֶ֧מֶת וְהַפְּתִילִ֛ים וְהַמַּטֶּ֖ה הָאֵֽלֶּה׃ (כו) וַיַּכֵּ֣ר יְהוּדָ֗ה וַיֹּ֙אמֶר֙ צָֽדְקָ֣ה מִמֶּ֔נִּי כִּֽי־עַל־כֵּ֥ן לֹא־נְתַתִּ֖יהָ לְשֵׁלָ֣ה בְנִ֑י וְלֹֽא־יָסַ֥ף ע֖וֹד לְדַעְתָּֽהּ׃ (כז) וַיְהִ֖י בְּעֵ֣ת לִדְתָּ֑הּ וְהִנֵּ֥ה תְאוֹמִ֖ים בְּבִטְנָֽהּ׃ (כח) וַיְהִ֥י בְלִדְתָּ֖הּ וַיִּתֶּן־יָ֑ד וַתִּקַּ֣ח הַמְיַלֶּ֗דֶת וַתִּקְשֹׁ֨ר עַל־יָד֤וֹ שָׁנִי֙ לֵאמֹ֔ר זֶ֖ה יָצָ֥א רִאשֹׁנָֽה׃ (כט) וַיְהִ֣י ׀ כְּמֵשִׁ֣יב יָד֗וֹ וְהִנֵּה֙ יָצָ֣א אָחִ֔יו וַתֹּ֕אמֶר מַה־פָּרַ֖צְתָּ עָלֶ֣יךָ פָּ֑רֶץ וַיִּקְרָ֥א שְׁמ֖וֹ פָּֽרֶץ׃ (ל) וְאַחַר֙ יָצָ֣א אָחִ֔יו אֲשֶׁ֥ר עַל־יָד֖וֹ הַשָּׁנִ֑י וַיִּקְרָ֥א שְׁמ֖וֹ זָֽרַח׃ {ס}
(1) About that time Judah left his brothers and camped near a certain Adullamite whose name was Hirah. (2) There Judah saw the daughter of a certain Canaanite whose name was Shua, and he took her [into his household as wife] and cohabited with her. (3) She conceived and bore a son, and he named him Er. (4) She conceived again and bore a son, and named him Onan. (5) Once again she bore a son, and named him Shelah; he was at Chezib when she bore him. (6) Judah got a wife for Er his first-born; her name was Tamar. (7) But Er, Judah’s first-born, was displeasing to יהוה, and יהוה took his life. (8) Then Judah said to Onan, “Join with your brother’s wife and do your duty by her as a brother-in-law, and provide offspring for your brother.” (9) But Onan, knowing that the offspring would not count as his, let [the semen] go to waste whenever he joined with his brother’s wife, so as not to provide offspring for his brother. (10) What he did was displeasing to יהוה, who took his life also. (11) Then Judah said to his daughter-in-law Tamar, “Stay as a widow in your father’s house until my son Shelah grows up”—for he thought, “He too might die like his brothers.” So Tamar went to live in her father’s house. (12) A long time afterward, Shua’s daughter, the wife of Judah, died. When his period of mourning was over, Judah went up to Timnah to his sheepshearers, together with his friend Hirah the Adullamite. (13) And Tamar was told, “Your father-in-law is coming up to Timnah for the sheepshearing.” (14) So she took off her widow’s garb, covered her face with a veil, and, wrapping herself up, sat down at the entrance to Enaim, which is on the road to Timnah; for she saw that Shelah was grown up, yet she had not been given to him as wife. (15) When Judah saw her, he took her for a harlot; for she had covered her face. (16) So he turned aside to her by the road and said, “Here, let me sleep with you”—for he did not know that she was his daughter-in-law. “What,” she asked, “will you pay for sleeping with me?” (17) He replied, “I will send a kid from my flock.” But she said, “You must leave a pledge until you have sent it.” (18) And he said, “What pledge shall I give you?” She replied, “Your seal and cord, and the staff which you carry.” So he gave them to her and slept with her, and she conceived by him. (19) Then she went on her way. She took off her veil and again put on her widow’s garb. (20) Judah sent the kid by his friend the Adullamite, to redeem the pledge from the woman; but he could not find her. (21) He inquired of the council of that locale, “Where is the prostitute, the one at Enaim, by the road?” But they said, “There has been no prostitute here.” (22) So he returned to Judah and said, “I could not find her; moreover, the local council said: There has been no prostitute here.” (23) Judah said, “Let her keep them, lest we become a laughingstock. I did send her this kid, but you did not find her.” (24) About three months later, Judah was told, “Your daughter-in-law Tamar has played the harlot; in fact, she is pregnant from harlotry.” “Bring her out,” said Judah. “She should be burned!” (25) As she was being brought out, she sent this message to her father-in-law, “It’s by the man to whom these belong that I’m pregnant.” And she added, “Examine these: whose seal and cord and staff are these?” (26) Judah recognized them, and said, “She is more in the right than I, inasmuch as I did not give her to my son Shelah.” And he was not intimate with her again. (27) When the time came for her to give birth, there were twins in her womb! (28) While she was in labor, one of them put out a hand, and the midwife tied a crimson thread on that hand, to signify: This one came out first. (29) But just then it drew back its hand, and out came its brother; and she said, “What a breach you have made for yourself!” So he was named Perez. (30) Afterward his brother came out, on whose hand was the crimson thread; he was named Zerah.

Appendix B: The version in Numbers and I Chronicles

(יט) בְּנֵ֥י יְהוּדָ֖ה עֵ֣ר וְאוֹנָ֑ן וַיָּ֥מׇת עֵ֛ר וְאוֹנָ֖ן בְּאֶ֥רֶץ כְּנָֽעַן׃ (כ) וַיִּהְי֣וּ בְנֵי־יְהוּדָה֮ לְמִשְׁפְּחֹתָם֒ לְשֵׁלָ֗ה מִשְׁפַּ֙חַת֙ הַשֵּׁ֣לָנִ֔י לְפֶ֕רֶץ מִשְׁפַּ֖חַת הַפַּרְצִ֑י לְזֶ֕רַח מִשְׁפַּ֖חַת הַזַּרְחִֽי׃ (כא) וַיִּהְי֣וּ בְנֵי־פֶ֔רֶץ לְחֶצְרֹ֕ן מִשְׁפַּ֖חַת הַֽחֶצְרֹנִ֑י לְחָמ֕וּל מִשְׁפַּ֖חַת הֶחָמוּלִֽי׃ (כב) אֵ֛לֶּה מִשְׁפְּחֹ֥ת יְהוּדָ֖ה לִפְקֻדֵיהֶ֑ם שִׁשָּׁ֧ה וְשִׁבְעִ֛ים אֶ֖לֶף וַחֲמֵ֥שׁ מֵאֽוֹת׃ {ס}
(19) Born to Judah: Er and Onan. Er and Onan died in the land of Canaan. (20) Descendants of Judah by their clans: Of Shelah, the clan of the Shelanites; of Perez, the clan of the Perezites; of Zerah, the clan of the Zerahites. (21) Descendants of Perez: of Hezron, the clan of the Hezronites; of Hamul, the clan of the Hamulites. (22) Those are the clans of Judah; men enrolled: 76,500.
(א) אֵ֖לֶּה בְּנֵ֣י יִשְׂרָאֵ֑ל רְאוּבֵ֤ן שִׁמְעוֹן֙ לֵוִ֣י וִיהוּדָ֔ה יִשָּׂשכָ֖ר וּזְבֻלֽוּן׃ (ב) דָּ֚ן יוֹסֵ֣ף וּבִנְיָמִ֔ן נַפְתָּלִ֖י גָּ֥ד וְאָשֵֽׁר׃ {פ}
(ג) בְּנֵ֣י יְהוּדָ֗ה עֵ֤ר וְאוֹנָן֙ וְשֵׁלָ֔ה שְׁלוֹשָׁה֙ נ֣וֹלַד ל֔וֹ מִבַּת־שׁ֖וּעַ הַֽכְּנַעֲנִ֑ית וַיְהִ֞י עֵ֣ר ׀ בְּכ֣וֹר יְהוּדָ֗ה רַ֛ע בְּעֵינֵ֥י יְהֹוָ֖ה וַיְמִיתֵֽהוּ׃ {ס} (ד) וְתָמָר֙ כַּלָּת֔וֹ יָ֥לְדָה לּ֖וֹ אֶת־פֶּ֣רֶץ וְאֶת־זָ֑רַח כׇּל־בְּנֵ֥י יְהוּדָ֖ה חֲמִשָּֽׁה׃ {ס} (ה) בְּנֵי־פֶ֖רֶץ חֶצְר֥וֹן וְחָמֽוּל׃ {ס} (ו) וּבְנֵ֣י זֶ֗רַח זִ֠מְרִ֠י וְאֵיתָ֧ן וְהֵימָ֛ן וְכַלְכֹּ֥ל וָדָ֖רַע כֻּלָּ֥ם חֲמִשָּֽׁה׃ {ס}

(1) These are the sons of Israel: Reuben, Simeon, Levi, Judah, Issachar, Zebulun, (2) Dan, Joseph, Benjamin, Naphtali, Gad, and Asher. (3) The sons of Judah: Er, Onan, and Shelah; these three, Bath-shua the Canaanite woman bore to him. But Er, Judah’s first-born, was displeasing to the LORD, and God took his life. (4) His daughter-in-law Tamar also bore him Perez and Zerah. Judah’s sons were five in all. (5) The sons of Perez: Hezron and Hamul. (6) The sons of Zerah: Zimri, Ethan, Heman, Calcol, and Dara, five in all.

Appendix C: Midrash on Er's Error

Based on Yevamot 34b:4

רע בעיני ה'. כְּרָעָתוֹ שֶׁל אוֹנָן, מַשְׁחִית זַרְעוֹ, שֶׁנֶּאֱמַר בְּאוֹנָן וַיָּמֶת גַּם אֹתוֹ, כְּמִיתָתוֹ שֶׁל עֵר מִיתָתוֹ שֶׁל אוֹנָן. וְלָמָּה הָיָה עֵר מַשְׁחִית זַרְעוֹ? כְּדֵי שֶׁלֹּא תִּתְעַבֵּר וְיַכְחִישׁ יָפְיָהּ:
רע בעיני ה' WAS WICKED IN THE EYES OF THE LORD — like the wickedness of Onan, and committing the same sin. This must have been the case because of Onan it is said, (v. 10) “And the Lord slew him also — Onan’s death was for a similar reason as Er’s death. Why did Er commit this sin? So that she should not bear children and her beauty thereby become impaired (Yevamot 34b).
ויהי ער בכור יהודה רע בעיני ה' לא הזכיר הכתוב פשעו כאשר עשה באחיו אבל אמר כי בחטאו מת להודיע שלא היה זה בענש יהודה על מכירת יוסף כי ההצלה עמדה על המכירה ולא היה בבית האבות שכול זולתי זה שהיה רע בעיני השם כי זרע צדיקים יבורך ועל כן היה יעקב מתאבל על בנו ימים רבים וימאן להתנחם שהיה הדבר בעיניו עונש גדול לו מלבד אהבתו אותו:
AND ER, JUDAH’s FIRSTBORN, WAS WICKED IN THE SIGHT OF THE ETERNAL. Scripture does not specify the nature of his wickedness as it did in the case of his brother. Instead, it simply states that he died for his own sin. It informs us that this was not by way of punishment of Judah for his role in the sale of Joseph, since the saving of Joseph’s life by Judah compensated for his role in the sale. There was no case of death of a child in the house of the patriarchs except this one who was wicked in the sight of the Eternal, since the race of the righteous is blessed. This is why Jacob mourned many days for his son Joseph, and he refused to comfort himself, for he considered this to be a great punishment to himself, quite apart from his love for him.
ויהי ער בכור יהודה רע בעיני ה'. בלתי רע לבריות:
ויהי ער רע בעיני ה', the words “in the eyes of G’d,” are mentioned to tell us that he was not evil to his fellow human beings.
וימתהו לא היה שוכב עמה כדרכה פן תהר ולשניהם היתה בתולה לפיכך לא חטא בה יהודה כי לא היתה בעולת בעל. חז״‎ק איך נענשו הרי עדיין לא הגיעו לכלל עשרים להיותם בני עונשין.
וימיתהו, “He killed him.” The sin was that he did not sleep with his wife in such a way that she could become pregnant with his semen. Tamar had remained a virgin even after having been married to Onan, so that Yehudah was not guilty of sleeping with a close relative whose previous marriage had been consummated, so that she would have been forbidden to him on that score. Our author, at this point raises the same question this Editor had raised at the end of 38,1, i.e. that they should not have been culpable until the age of 20.
ויהי רע בעיני ה', שלא היה יודע בו אלא ה' והוא בדברים שבינו לבינה וארז"ל (שם) שהיה דש מבפנים וזורה מבחוץ כדי שלא תתעבר כדי שלא תכחש יופיה:
'רע בעיני ה, the addition of the words “in the eyes of G’d,” is needed, seeing that no one else was aware of Er’s sin, something committed in the privacy of the bedroom. Our sages in Yevamot 34 said that the reason why Er ejaculated outside his wife’s vagina was in order for her to retain her beauty and not become pregnant.
ויהי ער רע בעיני ה' וימתהו ה'. יש מקשים האיך ענשו ב"ד של מעל' פחות מכ' ודוחקין לתרץ שב"ד של מעלה עונשין לפי חכמת האדם שאפי' פחות מבן עשרים והוא חכם כבן כ' מענישין אותו ולפי מה שכתבתי למעלה איפשר שהי' יותר מבן כ'. כתב הרמב"ן לא הזכיר פשעו אשר עשה כמו באחיו אלא אמר כי בחטאו מת ולא בעונש יהודה שמכר ליוסף כי ההצלה שהצילו עמד' כנגד המכיר' ולא הי' בכל בית האבו' שכול זולתי זה מפני שהי' רע בעיני ה' ועל זה הי' יעקב מתאבל על בנו וימאן להתנחם שהי' הדבר בעיניו עונש גדול מלבד אהבתו אותו:
ויהי ער רע בעיני ה' וימתיהו ה', “Er was wicked in the eyes of the Lord and He killed him.” Some scholars ask how it is possible that someone as young in years as Er could be held responsible for his deeds by the Heavenly tribunal, which supposedly does not judge anyone under 20 years of age. The forced answer given to this question is that if a youngster is intellectually developed to the level of a 20 year old, he is held responsible in spite of his being a minor in terms of years. According to what I have written earlier, about Yehudah having separated from his brothers and married prior to the sale of Joseph, it is quite possible that Er was 20 years old at the time of his death. Nachmanides draws attention to the fact that the Torah did not spell out Er’s sin, even though we have been told about Onan’s sin. Presumably, the words: “he was wicked in the eyes of the Lord and He killed him,” mean that he died on account of his own personal sin, and not as a punishment for Yehudah for his having sold Joseph. Yehudah was saved from his penalty for having saved Joseph’s life by the very act of selling him. Among all the families of the patriarchs the only one who had to bury his children was Yehudah.
ואומרו וימת ער ואונן הוא חורבן הבתים, כי סילוק שכינה מהם יקרא מיתה שפרחה הנפש שהיא השכינה ונשאר הבית מת בעונות ומלא טומאת הקליפה הנתונה בו כידוע, גם תמצא שעון שבו מת ער הוא העון עצמו שגרם החורבן שאמרו ז''ל (שבת סב:) שהיו מסריחין על מטותיהם והוא מעשה ער דכתיב (בראשית ל״ח:ט׳) ושחת ארצה, ועון אונן הוא עון שגרם חורבן בית שני שהיה להם שנאת חנם (יומא ט:) וכמו כן אונן דכתיב בו (שם) לבלתי נתן זרע לאחיו, גם לשון אונאה שהיו מאנים זה את זה.
The Torah goes on to say that Er and Onan died, a reference to the destruction of both Temples. Departure of the שכינה, G'd's Presence, from the Temple, is described as death. Just as death of a body is the departure of the soul, so the departure of the Holy Presence of G'd is the death of the Temple. The cause, of course, were the sins committed by the Jewish people. Instead of being filled with G'd's Presence, the respective Temples became filled with the negative spiritual forces created through the sins committed. There is also an opinion according to which the specific sins which the original Er and Onan had been guilty of became the cause of the destruction of both Temples (compare Shabbat 62). The Talmud there states that the Jews were causing their bedsteads to become evil-smelling with semen (which was not theirs), committing the same sin as Er who is reported as being "evil" i.e. wasting his semen, in the eyes of G'd (Genesis 38,7). Onan's sin which is held responsible for the destruction of the second Temple, i.e. "senseless hatred" as described in Yuma 9, was that he hated his deceased brother and did not want that his name should be perpetuated through his impregnating his brother's widow (compare Genesis 38,9). The word Onan is derived from the Hebrew אונאה which also describes mutual harassment, i.e. causeless hatred.
וַיֵּבְךְִ אֹתוֹ אָבִיו, מַה כְּתִיב אַחֲרָיו, וְהַמְּדָנִים מָכְרוּ וְגוֹ'. אָמַר לוֹ הַקָּדוֹשׁ בָּרוּךְ הוּא לִיהוּדָה, אֵין לְךָ בָּנִים עַד עַכְשָׁו וְאֵין אַתָּה יוֹדֵעַ צַעַר בָּנִים. אַתָּה טִגַּנְתָּ אֶת אָבִיךָ וְהִטְעֵיתָ אוֹתוֹ בְּטָרֹף טֹרַף יוֹסֵף, חַיֶּיךָ, תִּשָּׂא אִשָּׁה וְתִקְבֹּר אֶת בָּנֶיךָ וְתֵדַע צַעַר בָּנִים. מַה כְּתִיב אַחֲרָיו, וַיְהִי בָּעֵת הַהִוא וַיֵּרֶד יְהוּדָה מֵאֵת אֶחָיו, מְלַמֵּד שֶׁנִּתְנַדָּה מֵאֶחָיו. שֶׁבְּשָׁעָה שֶׁאָמַר לָהֶם לְכוּ וְנִמְכְּרֶנּוּ, אִם אָמַר לָהֶם לְכוּ וְנַחֲזִירֶנּוּ, הָיוּ שׁוֹמְעִין לוֹ. לְפִיכָךְ וַיֵּרֶד יְהוּדָה וְגוֹ', שֶׁהוֹרִידוּהוּ מִגְּדֻלָּתוֹ.
And his father wept for him. After that Scripture states: The Midianites sold him into Egypt (Gen. 37:36). The Holy One, blessed be He, said to Judah: Until now you had no sons, and did not experience the grief caused by sons, but since you tormented your father, and deceived him with the words Joseph is without doubts torn to pieces (ibid., v. 33), by your life, you shall wed, bury your children, and suffer the grief that comes with children.” What is written after this verse? Judah went down from his brethren … and he took her … and bore a son (ibid. 38:1–2). This teaches us that Judah became separated from his brothers. If at the time he had said to them: Come, let us sell him (ibid. 37:27), he had said instead: “Come, let us return him (to father),” they would have listened to him. Therefore, Judah went down. That is, he was deposed from his role as leader.
ויהי בימים וילך יהודה בית שם ויקח את תמר בת עילם בן שם לער בכורו לאישה. ויבוא ער אל תמר אישתו, ותהי לו לאישה. ויהי בבואו אליה וישחית את זרעו חוצה וירע בעיני ה׳ את מעשהו, וימת אותו ה׳. ויהי אחרי מות ער בכור יהודה ויאמר יהודה אל אונן, בוא אל אשת אחיך ויבם אותה והקם זרע לאחיך. וידע אונן את תמר לאישה, ויבוא אליה. ויעש אונן גם הוא כמעשה אחיו, וידע ה׳ את מעשהו וימת גם אותו. ויהי כאשר מת אונן ויאמר יהודה אל תמר, שבי בית אביך עד יגדל שלה בני. ויהודה לא חפץ עוד בתמר ליתנה לשלה, כי אמר יהודה פן ימות גם הוא כאחיו. ותקם תמר ותלך ותשב בית אביה, ותהי תמר בבית אביה ימים. ויהי לתקופת השנה ותמת עלית אשת יהודה, וינחם יהודה על אישתו. ויהי אחרי מות עלית, וילך יהודה ויעל עם רעהו חירה תמנת לגוז את צאנם. ותשמע תמר כי עלה יהודה תמנתה לגוז הצאן, ושלה גדל ויהודה לא חפץ בה. ותקם תמר ותסר את בגדי אלמנותה ותלבש עליה צעיף ותתעלף, ותלך ותשב בפתח עיניים אשר על דרך תמנת. וירד יהודה ויראה ויקחה, ויבוא אליה ותהר לו. ויהי בעת לידתה, והנה תאומים בבטנה. ויקראו את שם הראשון פרץ ושם השני זרח בימים ההם. ויוסף בן יעקב עודנו אסור בבית הסוהר במצרים. בעת ההיא ושרי פרעה עומדים לפניו, שר המשקים ושר האופים אשר למלך מצרים. ויקח שר המשקים את היין וישם לפני המלך לשתות, וגם שר האופים שם את הלחם לפני המלך לאכול. וישת המלך מן היין ויאכל מן הלחם, הוא וכל עבדיו ושריו אוכלי שולחן המלך. ויהי הם אוכלים ושותים ושר המשקים ושר האופים יושבים עמהם, וימצאו שרי פרעה זבובים רבים ביין אשר הביא שר המשקים וגם, אבני נתר נמצאו בלחם שר האופים.
And in those days Judah went to the house of Shem and took Tamar the daughter of Elam, the ‎son of Shem, to wife for his first born Er. And Er came to Tamar, and she became his wife, and ‎when he came to her he outwardly destroyed his seed, and his action was evil in the sight of ‎the Lord, and the Lord slew him. And it was after the death of Er, Judah’s first born, that Judah ‎said unto Onan: Go to thy brother's wife and marry her as the next of kin, and raise up seed to ‎thy brother. And Onan took Tamar and he came to her, and Onan also did like unto his brother, ‎and his work was evil in the sight of the Lord, and he slew him likewise. And when Onan died, ‎Judah said unto Tamar: Remain thou in thy father's house until my son Shiloh shall have grown ‎up. And Judah did no more delight in Tamar, to give her unto Shiloh, for he said: Perad venture ‎he will also die like his brothers. And Tamar rose up and went home and remained in her ‎father's house, and Tamar was in her father's house for some days. And at the revolution of ‎the year, Aliyath the wife of Judah died; and Judah was comforted for his wife, and Judah ‎went up with his friend Hirah to Timnah, to shear their sheep. And Tamar heard that Judah had ‎gone up to Timnah to shear the sheep, and that Shiloh was grown up, and Judah did not ‎delight in her, and she rose up and put off the garments of her widowhood, and she put a vail ‎upon her, and she covered herself entirely, and she went and sat in the public thoroughfare, ‎which is upon the road to Timnah. And Judah passed by and saw her, and he came to her, and ‎she conceived by him. And at the time of being delivered, behold, there were twins in her ‎womb; and he called the name of the first Perez, and the name of the second Zarah. In those ‎days Joseph was still bound in the prison house in the land of Egypt. That time the officers of ‎Pharaoh were standing before him, the chief butler, and the chief baker, which belonged to ‎the king of Egypt. And the butler took wine and placed it before the king to drink, and the ‎baker placed bread before the king to eat, and the king drank of the wine and ate of the ‎bread, he and his servants and his officers that ate at the table of the king. And whilst they ‎were eating and drinking, and the chief butler and the chief baker were sitting among them, ‎the princes of Pharaoh found many flies in the wine which the chief butler had brought, and ‎nitre stones were found in the bread of the chief baker.‎