Genesis 38:9-13 Holman Christian Standard Bible (HCSB)

9. But Onan knew that the offspring would not be his, so whenever he slept with his brother’s wife, he released his semen on the ground so that he would not produce offspring for his brother.

10. What he did was evil in the Lord’s sight, so He put him to death also.

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 thought, “He might die too, like his brothers.” So Tamar went to live in her father’s house.

12. After a long time Judah’s wife, the daughter of Shua, died. When Judah had finished mourning, he and his friend Hirah the Adullamite went up to Timnah to the sheepshearers.

13. Tamar was told, “Your father-in-law is going up to Timnah to shear his sheep.”

Genesis 38