Genesis 38
Genesis 38 interrupts the story of Joseph with a different kind of story entirely-one about his older brother Judah, set apart from his family, and a woman named Tamar who was wronged twice over and responded with courage that made Judah see his own failure 1. This chapter is uncomfortable and graphic in ways the Bible usually avoids. It sits in Scripture not by accident but because the gospel runs through exactly the kind of people and circumstances that religious systems try to hide.
The story turns on one ancient practice: yibbum, the levirate marriage. When a man died childless, his brother was bound by law to marry his widow and raise up an heir for the dead man. It was not optional. It was sacred debt. When Judah withholds his youngest son from Tamar-leaving her in limbo, neither widow nor wife-he breaks a covenant . Tamar's response will teach him what righteousness actually looks like, and in the process, she secures her place in the genealogy of Jesus.
Tap any highlighted phrase to jump to the commentary that unpacks it.

Genesis 38:1-5Judah Leaves His Brothers
1And it came to pass at that time that Judah went down from his brethren, and turned in to a certain Adullamite, whose name was Hirah. 2And Judah saw there a daughter of a certain Canaanite, whose name was Shuah; and he took her, and went in unto her. 3And she conceived, and bare a son; and he called his name Er. 4And she conceived again, and bare a son; and she called his name Onan. 5And she yet again conceived, and bare a son; and called his name Shelah: and he was at Chezib, when she bare him.
The phrase "at that time" anchors this chapter in the Joseph narrative. While his younger brother is being sold into Egypt, Judah is separating himself from the family, choosing a life with a Canaanite wife outside the covenant. This is the beginning of a spiritual descent. Judah is untethered, alone, making vows to people he has no common story with.
Adullam is where David will later hide in a cave. It becomes a place of refuge for the rejected. For Judah it is the place he goes to hide from his brothers and his God. The geography itself tells the story of a man turning away.
Judah does not marry a woman of his faith. He chooses the family of a Canaanite, a people whose gods were being driven out of the land. This is not yet catastrophic-Abraham and Isaac also marry in the land-but the movement is notable. Judah is building a life that has no reference to the covenant at all.
Genesis 38:6-11Er, Onan, and the Broken Covenant
6And Judah took a wife for Er his firstborn, whose name was Tamar. 7And Er, Judah's firstborn, was wicked in the sight of the LORD; and the LORD slew him. 8And Judah said unto Onan, Go in unto thy brother's wife, and marry her, and raise up seed to thy brother. 9And Onan knew that the seed should not be his; and it came to pass, when he went in unto his brother's wife, that he spilled it on the ground, lest that he should give seed to his brother. 10And the thing which he did displeased the LORD: wherefore he slew him also. 11Then said Judah to Tamar his daughter in law, Remain a widow at thy father's house, till Shelah my son be grown: for he said, Lest peradventure he die also, as his brethren did. And Tamar went and dwelt in her father's house.
Tamar enters the narrative named-the first woman in this section to receive her own name from the narrator. She is already present as a person, not as a function. Remember this: when Judah later fails to see her, she is still the woman he is failing to see.
We are told nothing about Er's wickedness, only that it is visible to God. He dies. The text does not blame Tamar; it does not blame the marriage. Er was wicked; he is removed. Now the covenant protection should pass to his brother.
Onan performs the act but not the covenant. He refuses to give seed-to create a child who would belong to his dead brother's line, not his own. The sin is not the act itself but the refusal of duty. Onan wants the sexual relationship without the responsibility to the dead, to the widow, or to God. He gets to be inside the covenant while rejecting what the covenant costs.
The LORD sees it. Onan dies not because of the mechanics of what he did, but because he broke a bond-he refused to be his brother's keeper. Tamar is now widowed twice, and the pattern is clear: the household of Judah is failing her. She is left in legal limbo, neither widow nor wife.
Genesis 38:12-19The Disguise
12And in process of time the daughter of Shuah Judah's wife died; and Judah was comforted, and went up unto his sheepshearers, he and his friend Hirah the Adullamite. 13And it was told Tamar, saying, Behold thy father in law goeth up to Timnath to shear his sheep. 14And she put off her widow's garments off from her, and covered her with a vail, and sat in an open place, which is by the way to Timnath; for she saw that Shelah was grown, and she was not given unto him to wife. 15When Judah saw her, he thought her to be an harlot; because she had covered her face.
Judah prospers and marries, but his first two sons die under God's judgment. Tamar waits for Shelah, widow-suspended, the ledger incomplete.
16And he turned unto her by the way, and said, Go to, I pray thee, let me come in unto thee; (for he knew not that she was his daughter in law.) And she said, What wilt thou give me, that thou mayest come in unto me? 17And he said, I will send thee a kid from the flock. And she said, Wilt thou give me a pledge, till thou send it? 18And he said, What pledge shall I give thee? And she said, Thy signet, and thy bracelets, and thy staff that is in thine hand. And he gave it her, and came in unto her, and she conceived by him. 19And she arose, and went away, and laid by her vail from her, and put on the garments of her widowhood.
Years pass. Shelah is now grown. Tamar has been waiting in her father's house, forbidden from the levirate protection that was promised to her. She was promised to Shelah; that promise was broken. By law and by conscience, she is owed. And so she acts.
The veil makes her unrecognizable. But her act is not deception for its own sake; it is the desperate measure of a woman who has exhausted the lawful channels that should have protected her. She is not deceiving for profit or pleasure. She is claiming what was her due by law.
Judah, who should have known the levirate law well enough to keep it, does not recognize his own daughter-in-law. The man who withheld Shelah is suddenly willing to lie with a stranger. The text is not hiding Judah's failure; it is showing it. And what Tamar does next will force him to see it too.
A kid-a young goat-is what Judah offers. But Tamar will not take it until she holds something he cannot replace. She asks for a pledge.
The signet ring is the seal of Judah's identity-it marks his documents and his property. The bracelets and staff mark him as a man of standing. Tamar does not ask for money. She asks for his identity itself, the things that name him in the world. Judah gives them. And in doing so, he gives away his ability to claim this encounter ever happened.
Genesis 38:20-26Discern, I Pray Thee
20And Judah sent the kid by the hand of his friend the Adullamite, to receive his pledge from the woman's hand: but he found her not. 21Then he asked the men of that place, saying, Where is the harlot, that was openly by the way side? And they said, There was no harlot in this place. 22And Judah returned to Hirah his companion, and said, I cannot find her; and also the men of the place said, that there was no harlot in this place.
Judah, blind with grief, solicits a roadside woman--but she is Tamar, reclaiming her right. Perez will be born, and his line leads to David.
23And Judah said, Let her take it to her, lest we be shamed: behold, I sent this kid, and thou hast not found her. 24And it came to pass about three months after, that it was told Judah, saying, Tamar thy daughter in law hath played the harlot; and also, behold, she is with child by whoredom. And Judah said, Bring her forth, and let her be burnt. 25When she was brought forth, she sent to her father in law, saying, By the man, whose these are, am I with child: and she said, Discern, I pray thee, whose are these, the signet, and bracelets, and staff? 26And Judah acknowledged them, and said, She hath been more righteous than I; because that I gave her not to Shelah my son. And he knew her again no more.
Notice the shift in vocabulary. Tamar is called zonah-a harlot, a woman without protection, outside the covenant. Hirah's men cannot find her because she has never been a harlot. She was only ever a widow, and a widow with a claim.
The report is a weapon. Tamar is accused in public, in the language of shame. And Judah's response is instant: burn her. Not trial, not questions, not inquiry. The man who should have protected her moves to execute her. The text does not blink at how close Judah comes to murdering an innocent woman.
Three items. Three words: "Discern, I pray thee." Tamar does not shame him. She does not accuse. She simply holds up his own marks of identity and asks him to read them. And he does. He knows those things. He cannot deny what his own hands gave away.
One of the clearest self-condemnations in Scripture 2. Judah does not defend himself or negotiate. He sees what he has done: he withheld Shelah, he broke the covenant, he was willing to burn a woman for claiming what was legally hers. And Tamar, the widow, the woman he thought was a harlot, is righteous. He is not. The reversal is complete.
Genesis 38:27-30Pharez and Zarah
27And it came to pass in the time of her travail, that, behold, twins were in her womb. 28And when she travailed, one put out his hand: and the midwife took and bound upon his hand a scarlet thread, saying, This came out first. 29And it came to pass, as he drew back his hand, that, behold, his brother came out: and she said, How hast thou broken forth? this breach be upon thee: therefore his name was called Pharez. 30And afterward came out his brother, that had the scarlet thread upon his hand: and his name was called Zarah.
Twins. The narrative has given us a pattern: Cain and Abel, Esau and Jacob, Joseph and Benjamin. Twins in Scripture often mean a struggle over blessing, over the right to the covenant. Here the twin birth itself is a reversal-the one marked to come first does not, and in the struggle between them, one breaks out of order.
The midwife's question is not a rebuke but an acknowledgment of something extraordinary. The child marked to come first was forced to cede to his brother. The order was broken by necessity, not by failure.
Pharez means "breach" or "breaking out." He is the one who breaks the order, who comes against expectation, who interrupts what looked settled. His name will appear in the genealogy of Jesus. Matthew 1:3: "Judas begat Phares." The line of the Messiah runs not through the first-born, not through the expected heir, but through the child of Tamar and Judah-and through the one who broke the order to get here.
Zarah-"rising" or "brightness"-is the one marked first. He gets the scarlet thread. He has the sign of priority. But Pharez comes first, and the thread on Zarah's hand becomes a marker of what was displaced, what yielded its place. Zarah will have descendants, but not the royal line.
Further study
- Genesis 38 - SefariaSefariaAnnotated text with classical and modern Jewish commentary on the Judah and Tamar narrative.
- Egyptian artifacts and cultural context for understanding the world of Joseph and later Genesis figures.