Genesis 38:6-10

Genesis 38:6-10 GNBUK

For his first son Er, Judah got a wife whose name was Tamar. Er's conduct was evil, and it displeased the LORD, so the LORD killed him. Then Judah said to Er's brother Onan, “Go and sleep with your brother's widow. Fulfil your obligation to her as her husband's brother, so that your brother may have descendants.” But Onan knew that the children would not belong to him, so whenever he had intercourse with his brother's widow, he let the semen spill on the ground, so that there would be no children for his brother. What he did displeased the LORD, and the LORD killed him also.
GNBUK: Good News Bible (Anglicised) 1994