7 Er, Judah’s firstborn, was wicked in the Lord’s sight. The Lord 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 the Lord’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.
12 After many days, Shua’s daughter, the wife of Judah, died. Judah was comforted, and went up to his sheep shearers to Timnah, he and his friend Hirah, the Adullamite.
13 Tamar was told, “Behold, your father-in-law is going up to Timnah to shear his sheep.”