Genesis 38:8-11

8Then Judah said to Onan, “Go in to ayour brother’s wife and bperform the duty of a brother-in-law to her, and raise up offspring for your brother.” 9But Onan knew that the offspring would not be his. So whenever he went in to his brother’s wife he would waste the semen on the ground, so as not to give offspring to his brother. 10And what he did was wicked in the sight of the Lord, and he put him to death also. 11Then Judah said to Tamar his daughter-in-law, cRemain a widow in your father’s house, till Shelah my son grows up”—for he feared that he would die, like his brothers. So Tamar went and remained din her father’s house.

Copyright information for ESV