Question not found.
Genesis 38:9 - 10
ESV - 9 But 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. 10 And what he did was wicked in the sight of the Lord, and he put him to death also.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.