Judah, Tamar, and three sons
1 At that time, Judah went down from his brothers, and visited a certain Adullamite, whose name was Hirah. 2 There, Judah saw the daughter of a certain Canaanite man named Shua. He took her, and went in to her. 3 She conceived, and bore a son; and he named him Er. 4 She conceived again, and bore a son; and she named him Onan. 5 She yet again bore a son, and named him Shelah. He was at Chezib when she bore him. 6 Judah took a wife for Er, his firstborn, and her name was Tamar. 7 Er, Judah’s firstborn, was wicked in Yahweh’s sight. So Yahweh killed him. 8 Judah said to Onan, “Go in to your brother’s wife, and perform the duty of a husband’s brother to her, and raise up offspring for your brother.” 9 Onan knew that the offspring wouldn’t be his; and when he went in to his brother’s wife, he spilled his semen on the ground, lest he should give offspring to his brother. 10 The thing which he did was evil in Yahweh’s sight, and he killed him also. 11 Then Judah said to Tamar, his daughter-in-law, “Remain a widow in your father’s house, until Shelah, my son, is grown up;” for he said, “Lest he also die, like his brothers.” Tamar went and lived in her father’s house.
Judah marries among the Canaanites, loses two sons, and leaves Tamar waiting for a husband.
Judah marries a Canaanite woman, who bears three sons. Yahweh kills Er for his wickedness, then Onan, who refuses to give his dead brother offspring. Judah sends the widow Tamar home to wait until Shelah is grown.
Joseph has been sold into Egypt, and the story turns aside to follow the brother who proposed the sale. The placement makes a comparison that neither chapter states. Judah went down from his brothers and settled among the Canaanites by choice. Joseph went down to Egypt as a slave, and in the next chapter he refuses an Egyptian's wife because it would be sin against God. One brother does as the foreign country does, and the other does not.
The marriage breaks the family's one firm rule. Abraham made a servant swear to prevent it Genesis 24:3, Isaac commanded Jacob against it Genesis 28:1, and Esau's Canaanite wives grieved his parents Genesis 26:34–35.
Er, Judah's firstborn, was wicked in Yahweh's sight. So Yahweh killed him. Genesis is willing to say that God took a life and to leave the ground of it unstated. The levirate duty, which the law later codified Deuteronomy 25:5–6, is plainly older than the law, since Judah invokes it as a known obligation. A brother of a man who died childless was to father a son counted as the dead man's heir. A widow then was not left destitute, and a line did not die out. Onan refused lest he should give offspring to his brother. What was evil was not an act in isolation but a deliberate scheme. He took what the arrangement gave him and withheld what it required, so that his brother's estate would fall to him.
Judah sends Tamar back to her father's house until Shelah, my son, is grown up, and his real thought is given: Lest he also die, like his brothers. He has decided the woman is the problem. He will not risk his third son on her, and he will not release her, because a release would let her remarry and cost him the connection. Tamar waits in widow's clothing, on a promise he does not intend to keep.
settled What this mark means