4 She became pregnant again and bore another son and named him Onan.
5 Again she had a son and named him Shelah. Judah was at Achzib when the boy was born.
6 For his first son Er, Judah got a wife whose name was Tamar.
7 Er's conduct was evil, and it displeased the Lord, so the Lord killed him.
8 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.”
9 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.
10 What he did displeased the Lord, and the Lord killed him also.