8 Then Judah said to Onan, “Have intercourse with your brother’s wife, in fulfillment of your duty as brother-in-law, and thus preserve your brother’s line.”
9 Onan, however, knew that the offspring would not be his; so whenever he had intercourse with his brother’s wife, he wasted his seed on the ground, to avoid giving offspring to his brother.
10 What he did greatly offended the Lord, and the Lord took his life too.
11 Then Judah said to his daughter-in-law Tamar, “Remain a widow in your father’s house until my son Shelah grows up”—for he feared that Shelah also might die like his brothers. So Tamar went to live in her father’s house.
12 Time passed, and the daughter of Shua, Judah’s wife, died. After Judah completed the period of mourning, he went up to Timnah, to those who were shearing his sheep, in company with his friend Hirah the Adullamite.
13 Then Tamar was told, “Your father-in-law is on his way up to Timnah to shear his sheep.”
14 So she took off her widow’s garments, covered herself with a shawl, and having wrapped herself sat down at the entrance to Enaim, which is on the way to Timnah; for she was aware that, although Shelah was now grown up, she had not been given to him in marriage.