Genesis 37–38 — Joseph Sold; Judah and Tamar
Section 17 of Genesis · ← Section 16: Peniel and Return
The last great story of Genesis begins with a favored son, a special tunic, and two dreams in which his family bows down to him. His brothers hate him for all three. Sent by his father to check on them, Joseph walks into an ambush: they strip him, throw him into a dry pit, sit down to eat, and sell him to traders bound for Egypt. They dip his tunic in goat's blood and send it to Jacob with a cruel request: "Recognize, please, is it your son's?" Then the story abruptly turns to Judah, the brother who suggested the sale. He leaves his family, marries a Canaanite, loses two sons, and refuses his widowed daughter-in-law Tamar the husband the law owed her. She disguises herself, conceives by Judah himself, and when he orders her burned, she sends him his own seal and staff with the same words: "Recognize, please." Judah does, and says, "She is more righteous than I." From her twins comes the line of David, and of Jesus.
1. The shape of the section
| Passage | Content |
|---|---|
| 37:1–11 | "The generations of Jacob": the bad report, the tunic, two dreams, hatred and jealousy |
| 37:12–17 | Joseph sent to Shechem; the stranger in the field; on to Dothan |
| 37:18–30 | The plot; Reuben's plan; the pit; Judah's proposal; the sale |
| 37:31–36 | The bloody tunic; Jacob's mourning; Joseph sold to Potiphar |
| 38:1–11 | Judah's Canaanite marriage; Er and Onan die; Tamar sent home |
| 38:12–26 | Tamar at Enaim; the pledge; the sentence; "She is more righteous than I" |
| 38:27–30 | The birth of Perez and Zerah |
The Joseph story (37–50) is the most carefully built narrative in Genesis, a novella with few miracles and no direct appearances of God to Joseph. God works in the background, through dreams, coincidences, and human choices good and evil, until Joseph can say, "You meant evil against me, but God meant it for good" (50:20). Its title, "the generations of Jacob," signals that it is the story of the whole family, especially of Joseph and Judah, the two sons who will lead (49:8–12, 22–26).
2. The text, word by word
Copyrighted translations: ESV + RSV ↗ · ESV + NRSVue + JPS ↗.
3. The tunic and the dreams
Favoritism repeated. Isaac loved Esau, Rebekah loved Jacob (25:28); Jacob loved Rachel more than Leah (29:30); now he loves Rachel's son more than all his brothers and dresses him to show it. The narrator gives three reasons for the brothers' hatred: the bad report (37:2), the father's love and the tunic (37:3–4), and the dreams (37:5–11).
Two dreams, doubled. In Genesis, dreams come in pairs: Joseph's two (sheaves, then sun, moon and stars), the cupbearer's and baker's (40), Pharaoh's two (41). Joseph explains the principle: "The doubling of Pharaoh's dream means that the thing is fixed by God" (41:32). Unlike Abraham or Jacob, Joseph never receives a direct word from God; his revelation comes only through dreams, his own and others'.
Was Joseph wrong to tell them? Commentators divide. Many read the seventeen-year-old as naive or arrogant: he reports on his brothers, wears the tunic, and tells the dreams twice. Others note that the dreams come from God and do come true (42:6; 43:26; 50:18), so Joseph is not inventing them. The text leaves his motives unstated; it records the result: "they hated him still more."
The sun, moon and eleven stars. Joseph's father, mother and eleven brothers. The image may draw on the twelve signs of the zodiac (Joseph as the twelfth star), a connection later drawn in Revelation 12:1, where a woman is crowned with twelve stars.
4. Dothan, the pit and the sale
The errand. Jacob sends Joseph from Hebron to Shechem, about 50 miles, to check on "the shalom of your brothers." Shechem is where Simeon and Levi had massacred the town (34); Jacob has reason to worry. A stranger redirects Joseph another 13 miles north to Dothan, on the trade route from Gilead to Egypt. Tel Dothan was excavated by Joseph Free (1953–64) and was occupied in the Middle Bronze Age.
Three plans. The brothers want to kill him (37:20). Reuben persuades them to throw him in a pit instead, meaning to rescue him (37:21–22). Judah persuades them to sell him: "What profit is there in killing him?" (37:26–27). Reuben's plan fails because he is absent; Judah's plan succeeds, but it is driven by gain.
Twenty pieces of silver. The price of a young male slave (Leviticus 27:5). Christians from the early church onward have compared it with the thirty pieces of silver paid for Jesus (Matthew 26:15): both sold by one of their own, both handed over to Gentiles.
Ishmaelites or Midianites? See the traders. The question is also a classic test case for source criticism; see check A.
5. Jacob's grief; Joseph in Egypt
The deceiver deceived again. Jacob deceived his blind father with a goat and his brother's clothing (27:9–27). His sons deceive him with a goat and their brother's tunic. They never say Joseph is dead; they let Jacob reach that conclusion himself: "Recognize, please." "An evil beast has devoured him."
"I will go down to Sheol." The first mention of Sheol in the Bible. Jacob refuses comfort from his sons and daughters, who are the cause of his grief. He will say the same thing again when asked to send Benjamin (42:38; 44:29, 31). Sheol in the Old Testament is the shadowy realm of the dead, where good and evil alike go down; fuller hope of resurrection comes later (Daniel 12:2).
Potiphar. The chapter ends with Joseph already in Egypt, sold to a high official, setting up chapter 39. Between the two, the narrator makes the reader wait, with Judah.
6. Why is chapter 38 here?
Chapter 38 interrupts the Joseph story right after its cliffhanger. Older critics called it an intrusion. Robert Alter (The Art of Biblical Narrative, 1981, ch. 1) made it his opening case for the opposite view: it is deliberately placed and tied to chapter 37 by repeated words.
| Link | Chapter 37 | Chapter 38 |
|---|---|---|
| "Recognize, please" (haker-na) | The brothers to Jacob, with Joseph's bloodied tunic (37:32) | Tamar to Judah, with his seal, cord and staff (38:25) |
| A young goat (gedi 'izzim / se'ir 'izzim) | Its blood used to deceive a father (37:31) | Promised as payment, never delivered (38:17, 20) |
| Garments | Joseph stripped of his tunic (37:23) | Tamar removes and puts back her widow's clothes (38:14, 19) |
| "Went down" | Joseph brought down to Egypt (37:25; 39:1) | Judah went down from his brothers (38:1) |
| A father who loses sons | Jacob mourns Joseph, refusing comfort (37:35) | Judah loses Er and Onan and is "comforted" (38:12) |
Judah's turning point. The man who proposed selling his brother for profit is exposed by a woman he wronged, and he confesses publicly. That change prepares for his great speech in 44:18–34, where he offers himself as a slave in Benjamin's place to spare his father. Without chapter 38, his change of heart has no explanation.
A contrast with Joseph. Chapter 38 is about Judah and a woman, sex and a pledge; chapter 39 is about Joseph and a woman, sex refused and a garment left behind. One brother falls and repents; the other stands firm.
Timing. "At that time" (38:1) is loose. Judah marries, has three sons, the first two grow up and marry, and twins are born, all within the 22 years before Jacob goes to Egypt (Genesis 46:12 lists Perez's sons among those who went down). That is tight but possible if Judah married young; many commentators think 38:1 overlaps the earlier story.
7. Er, Onan and levirate marriage
The custom. When a married man died childless, his brother married the widow, and the first son counted as the dead man's heir, "so that his name may not be blotted out of Israel" (Deuteronomy 25:5–10). The name comes from Latin levir, "husband's brother" (Hebrew yabam). Similar customs appear in Hittite law (§193) and Middle Assyrian laws (A §§30, 33). Ruth 4 shows a wider version, in which a more distant relative redeems the widow and the land.
Er is killed by YHWH for an unnamed evil. Onan accepts the sexual side of the arrangement but sabotages its purpose so the inheritance will not be divided. His sin is fraud against his brother and cruelty to Tamar, done under cover of obedience. YHWH kills him too.
"Onanism." The English word, and much Christian moral teaching on contraception and masturbation, came from this passage. Most modern interpreters, Jewish and Christian, read the text as condemning Onan's refusal of the levirate duty and his use of Tamar rather than the act in itself. Augustine (On Adulterous Marriages 2.12) and Calvin (Commentary on Genesis 38:9) read it more broadly as condemning the deliberate prevention of conception. See check B.
Judah's injustice. He sends Tamar back to her father "until Shelah grows up," never intending to give her to him (38:11, 14). She is trapped: bound to Judah's family, so not free to remarry, but denied a husband and child.
8. Tamar at Enaim
When Judah's wife dies and Tamar sees Shelah grown and not given to her, she acts. She takes off her widow's garments, veils herself, and sits at Enaim on Judah's road. Judah takes her for a prostitute. She negotiates: a young goat, with his seal, cord and staff as a pledge. When Hirah comes to pay, she is gone, and the locals say there was no such woman.
The trial. Three months later Judah hears Tamar is pregnant "by prostitution" and orders her burned. On the way, she sends him the pledge privately: "By the man to whom these belong I am pregnant. Recognize, please, whose these are." She gives him a chance to confess without publicly naming him. He does: "She is more righteous than I, because I did not give her to Shelah my son."
How to judge Tamar? The narrator makes no criticism of her, and Judah's verdict stands. Ruth 4:12 holds her up in a blessing: "may your house be like the house of Perez, whom Tamar bore to Judah." Matthew names her first among the four women (with Rahab, Ruth, and "the wife of Uriah") in Jesus' genealogy (1:3). Jewish tradition largely honors her: the Talmud (Sotah 10b) says it is better to be thrown into a furnace than to shame another publicly, learned from Tamar, who would not name Judah. Her act was still incest under later law (Leviticus 18:15; 20:12), and readers have debated whether "more righteous" means "righteous" or only "in the right compared with me."
9. Perez and Zerah
As with Esau and Jacob, twins struggle at birth. Zerah's hand comes out first and the midwife ties a scarlet thread on it; then he pulls back, and his brother bursts out first: "What a breach you have made!" So he is named Perez, "breach." The younger again takes the firstborn's place.
The line. Perez → Hezron → Ram → Amminadab → Nahshon → Salmon → Boaz → Obed → Jesse → David (Ruth 4:18–22; 1 Chronicles 2:4–15; Matthew 1:3–6; Luke 3:31–33). The royal line of Judah, and the Messiah's, runs through a Canaanite widow who refused to be written out of the family. Zerah's line includes Achan (Joshua 7:1) and the wise men Ethan and Heman (1 Kings 4:31; 1 Chronicles 2:6).
10. The Greek differences
| Verse | Hebrew | Greek | Why it matters |
|---|---|---|---|
| 37:3, 23, 32 | ketonet passim | "tunic of many colors" (chitōna poikilon) | The source of the famous "coat of many colours" (KJV, Vulgate tunicam polymitam). |
| 37:28 | "twenty pieces of silver" | "twenty pieces of gold" | A different metal; Joseph's price goes up. |
| 37:36 | Potiphar, "captain of the guard" | Petephres, archimageiros (literally "chief cook") | The Hebrew tabbach can mean "butcher, cook" or "guard"; the Greek takes the first sense. |
| 38:12, 20 | "Hirah his friend (re'ehu)" | "Iras his shepherd" | Reads the same consonants as ro'ehu, "his shepherd." |
| 38:14 | "covered herself with a veil and wrapped herself" | "put on a veil and beautified her face" | Adds that she made herself attractive. |
| 38:21–22 | qedeshah, "consecrated woman" | pornē, "prostitute" | Drops the cultic overtone; see qedeshah. |
| 38:26 | "She is more righteous than I" | "Tamar is justified (dedikaiōtai) rather than I" | Uses the verb Paul uses for justification. |
11. See the manuscripts
National Library of Russia; Zuckerman photograph via Internet Archive (Public Domain Mark). Full page ↗
British Library, Royal MS 1 D V; Kenyon facsimile (1915), via Internet Archive. Public domain. Next page: 37:29–38:16 ↗
Dead Sea Scrolls (images linked only via the Leon Levy Digital Library ↗): fragments of Genesis 37 survive in 4QGenesis-Exodusa; the Qumran Testament of Naphtali and the Aramaic Levi traditions retell the patriarchs. Jubilees 34 and 41 and the Testament of Judah retell both chapters; the Testament of Judah blames wine and Judah's love of money and says Tamar was following an Amorite custom, an excuse the biblical text does not offer.
12. Words that carry the weight
כְּתֹנֶת פַּסִּים ketonet passim — "tunic of passim" meaning debated
Ketonet is the common long tunic (the word behind Greek chitōn). Pas is the palm of the hand or sole of the foot (Daniel 5:5, 24, Aramaic): a tunic "to the palms and soles," long-sleeved and ankle-length, unsuitable for work, a garment of status. Other proposals: "of stripes" or "of pieces" (patchwork), or "ornamented" (from an Akkadian term for decorated garments). The Greek and Latin chose "many colors," which English made famous. Tamar daughter of David wore one as a royal virgin daughter (2 Samuel 13:18).
יִשְׁמְעֵאלִים / מִדְיָנִים Yishme'elim / Midyanim — "Ishmaelites / Midianites" debated
37:25, 27, 28b and 39:1: Ishmaelites. 37:28a: Midianite traders "drew up" Joseph. 37:36: "Medanites" sold him to Potiphar. Readings: (1) two groups: Midianites found Joseph in the pit and sold him to Ishmaelites, perhaps while the brothers were away eating, which would explain Reuben's surprise (Rashbam, many modern literary readers); (2) one group called by two names: Judges 8:24 calls Midianites "Ishmaelites" because they wore gold earrings, so "Ishmaelite" may mean "caravan trader" generally; (3) two sources combined: in one (J), Judah has Joseph sold to Ishmaelites; in another (E), Reuben's plan is foiled when Midianites take him from the pit. The caravan's goods (gum, balm and myrrh, used in medicine and embalming) are exactly what Gilead exported to Egypt (Jeremiah 8:22; 46:11).
נָכַר nakar — "recognize" well established
The key word of the Joseph story. Jacob was not recognized by Isaac (27:23). The brothers ask Jacob to "recognize" the bloody tunic (37:32–33); Tamar asks Judah to "recognize" his pledge (38:25–26); in Egypt Joseph "recognized" his brothers but "made himself unrecognizable" to them (vayyitnakker, 42:7–8). The same root gives nokhri, "foreigner." Recognition, and the deception that prevents it, drives the plot until Joseph finally makes himself known (45:1).
זוֹנָה / קְדֵשָׁה zonah / qedeshah — "prostitute / consecrated woman" debated
The narrator uses zonah (38:15), the ordinary word for prostitute. Hirah, asking around, uses qedeshah (38:21–22), from the root "holy," traditionally translated "temple prostitute," perhaps because it sounded more respectable. Deuteronomy 23:17–18 forbids an Israelite qedeshah. Older scholarship assumed widespread "sacred prostitution" in Canaanite religion; many scholars now doubt it existed as a fertility rite (Joan Goodnick Westenholz, HTR 1989; Stephanie Budin, The Myth of Sacred Prostitution in Antiquity, 2008) and take qedeshah as a woman dedicated to a temple whose role is unclear.
צָדְקָה מִמֶּנִּי tsadeqah mimmenni — "she is more righteous than I" well established
Tsadaq here is relational and legal: in the right, having fulfilled her obligations to the family. Tamar acted to secure the heir that Judah owed his dead son; Judah had failed his duty. The comparative min can mean "more than I" or "rather than I" ("she is in the right, not I"). The first occurrence of the verb tsadaq in the Bible; the noun tsedaqah first appeared in 15:6 ("counted it to him as righteousness").
13. Voices at the table
Jewish readers ancient and medieval
Genesis Rabbah 84–85: Joseph, a vain youth, "touched up his eyes" and curled his hair; God tells Judah, in effect, "You said to your father 'Recognize, please'; by your life, Tamar will say to you 'Recognize, please'" (85:11). Rashi on 37:15: the man was the angel Gabriel. Talmud Sotah 10b: Tamar would rather be burned than shame Judah; Judah's confession earned him the kingship. Ramban on 38:8: the levirate custom predates the Torah, part of ancient wisdom about the soul and lineage. Targum Neofiti expands Judah's confession and has a heavenly voice declare that both acted from God. Testament of Judah 11–19 excuses Judah partly by drink and blames love of money.
The church fathers patristic
Ambrose (On Joseph) and Chrysostom (Homilies on Genesis 61–62) read Joseph as a type of Christ: beloved of his father, sent to his brothers, hated without cause, stripped, sold for silver, handed to Gentiles. Augustine (Against Faustus 22) defends the Bible's honesty in recording Judah's sin: Scripture does not praise it, and God brought Christ's line through it. Ephrem praises Tamar's faith, seeking to share in the blessing of Abraham's line.
The Reformers Luther, Calvin
Calvin (Commentary on Genesis 37–38): Jacob's partiality was a fault that fed the brothers' hatred; God turned the brothers' wicked plans to his own ends. On chapter 38 he says the Spirit deliberately records the disgrace of the ancestors of Israel's kings, so that no one would boast in the flesh and Christ's line would be seen to rest on grace. He condemns Onan and calls Tamar's act incest, though less guilty than Judah. Luther (Lectures on Genesis) dwells long on Jacob's grief and on Joseph as a picture of the believer who is "killed" by the world and raised by God; he defends Tamar's desire for children as godly while not excusing the means.
Modern scholarship critical and evangelical
Gerhard von Rad called the Joseph story a "wisdom" novella from the court of Solomon, though that dating has few followers now. Donald Redford (A Study of the Biblical Story of Joseph, 1970) dated its Egyptian color to the 7th–5th centuries BC; Kenneth Kitchen (On the Reliability of the Old Testament, 2003) and James Hoffmeier (Israel in Egypt, 1996) argue for authentic 2nd-millennium details (the slave price, Semitic slaves in Egyptian households, Egyptian titles). Robert Alter on chapter 38's links to 37; Gordon Wenham, Victor Hamilton, Bruce Waltke and Nahum Sarna as in earlier sections. Susan Niditch (HTR 1979) on Tamar as a woman finding justice from the margins.
Dan McClellan critical · public scholar
No citable statement from McClellan on Genesis 37–38 specifically was found. Nothing is attributed to him here.
Michael Heiser divine council
Heiser did not treat these chapters at length in The Unseen Realm. His wider point about dreams as a channel of divine revelation in the Old Testament applies to Joseph, who receives no direct word from God, only dreams.
14. Outside the lines
Joseph's coat was a royal or priestly robe proving he was the heir overstated
It was a garment of status (compare David's daughters, 2 Samuel 13:18), and Joseph does receive the firstborn's double portion through his two sons (1 Chronicles 5:1–2). But the text never calls the tunic a sign of inheritance; that link is an inference.
Joseph was a historical vizier such as Yuya or Imhotep speculative
Popular authors have identified Joseph with Imhotep (c. 2650 BC), the courtier Yuya (14th century), or others. None of these identifications has scholarly support; the dates or details don't fit, and Egyptian records name no Joseph. Whether Joseph is historical is a separate question (next sections).
Onan's story is the Bible's prohibition of contraception contested
Long-standing Catholic and many older Protestant teaching; most modern exegetes, including conservative Protestants, read the text as condemning Onan's refusal of the levirate duty rather than the act itself. See check B.
15. Foundations checks
- The text
- 37:25–28, 36; 39:1. Ishmaelites buy him; Midianites draw him out; Medanites sell him to Potiphar; Ishmaelites sell him to Potiphar.
- Options
- (1) Two groups in sequence (traditional and many literary readers); (2) "Ishmaelite" as a general term for traders, as in Judges 8:24; (3) two sources, J (Judah, Ishmaelites) and E (Reuben, Midianites), woven together.
- Your test
- Read 37:18–36 twice, once following Reuben and once following Judah. Is the combined story confused, or does it work as one narrative? Does the answer affect what you believe about inspiration?
- Where it landed
- The text
- 38:8–10; Deuteronomy 25:5–10 (the penalty for refusing levirate duty is public shame, not death).
- Readings
- (1) The act of preventing conception (Augustine, Calvin, Roman Catholic teaching); (2) the refusal of the levirate duty, with fraud and greed (most modern interpreters); (3) both: the deliberate frustration of God's purpose for marriage in this specific duty.
- Where it landed
- The text
- The brothers' hatred and sale of Joseph (37); Judah and Tamar (38). Joseph's later verdict: "You meant evil against me, but God meant it for good" (50:20). The royal line comes through Judah's sin and Tamar's deception.
- Your framework
- Westminster Confession 5.4: God's providence "extendeth itself even to the first fall, and all other sins," yet "the sinfulness thereof proceedeth only from the creature, and not from God." Does Genesis 37–38 bear that out?
- Where it landed
16. How the rest of the Bible reads it
| Text | Use |
|---|---|
| Psalm 105:16–19 | "He had sent a man ahead of them, Joseph, who was sold as a slave… until what he had said came to pass, the word of the LORD tested him." |
| Acts 7:9–10 | Stephen: "The patriarchs, jealous of Joseph, sold him into Egypt; but God was with him." |
| Deuteronomy 25:5–10; Ruth 4 | Levirate law; Boaz as redeemer; "like the house of Perez, whom Tamar bore to Judah." |
| Genesis 49:8–12 | Judah's blessing: the scepter shall not depart from Judah. |
| 1 Chronicles 2:3–4; 5:1–2 | Judah's line from Tamar; Joseph receives the birthright, Judah the leadership. |
| Matthew 1:3; Luke 3:33 | Tamar and Perez in Jesus' genealogy. |
| Matthew 22:24–28 | The Sadducees' levirate puzzle about the resurrection. |
| Revelation 12:1 | A woman with the sun, moon and twelve stars. |
17. Open threads & your notes
- Favoritism runs through three generations of this family. Where do you see patterns handed down in your own family, good or bad?
- The brothers sat down to eat while Joseph cried from the pit (42:21). What cries are easiest for you to tune out?
- Judah's turning point came when he was exposed and chose to confess rather than cover. What does honest confession look like when you are the one in the wrong?
- God built the royal line through people at their worst. Where has God worked through a failure of yours?
Your notes on the whole section
18. Sources & licenses
Texts and images: as in earlier sections (STEPBible CC BY 4.0; Brenton, KJV, BSB public domain; Leningrad Codex, Internet Archive PD Mark; Codex Alexandrinus, Kenyon facsimile 1915).
- Gordon Wenham, Genesis 16–50 (WBC, 1994); Victor Hamilton, Genesis 18–50 (NICOT, 1995); Nahum Sarna, Genesis (JPS, 1989); Bruce Waltke, Genesis (2001); Gerhard von Rad, Genesis (OTL); Claus Westermann, Genesis 37–50 (1986).
- Robert Alter, The Art of Biblical Narrative (1981), ch. 1; Donald Redford, A Study of the Biblical Story of Joseph (1970); Kenneth Kitchen, On the Reliability of the Old Testament (2003); James Hoffmeier, Israel in Egypt (1996); Susan Niditch, "The Wronged Woman Righted," HTR 72 (1979); Joan Goodnick Westenholz, "Tamar, Qĕdēšā, Qadištu, and Sacred Prostitution in Mesopotamia," HTR 82 (1989); Stephanie Budin, The Myth of Sacred Prostitution in Antiquity (2008).
- Code of Hammurabi §§116, 214, 252; Hittite Laws §193; Middle Assyrian Laws A §§30, 33; Genesis Rabbah 84–85; Talmud Sotah 10b; Rashi, Rashbam and Ramban on Genesis 37–38; Targum Neofiti; Jubilees 34, 41; Testament of Judah; Ambrose, On Joseph; Chrysostom, Homilies on Genesis 61–62; Augustine, Against Faustus 22; Calvin, Commentary on Genesis; Luther, Lectures on Genesis; Westminster Confession 5.4.