Genesis 38:9
KJV And Onan knew that the seed should not be his; and it came to pass, when he went in unto his brother’s wife, that he spilled it on the ground, lest that he should give seed to his brother.
B:E Project But Onan knew the child wouldn't legally count as his own, so whenever he slept with his brother's wife, he made sure not to get her pregnant, to avoid giving his brother an heir.
Context: Under the custom described in the previous verse, any son born to Tamar through Onan would legally belong to the dead Er's line, not Onan's - meaning Onan himself would gain nothing and might even lose out on inheritance. His actions here are a deliberate, repeated refusal to do what he'd agreed to do.
Meaning: Strip away the ancient customs and this is a very recognisable story: someone goes through the motions of a commitment while quietly working to avoid its actual cost. Onan isn't punished later for anything to do with sex itself - the text is clear the issue is his calculated betrayal of a duty and of a vulnerable person who was depending on him. It's a study in the gap between appearing to keep a promise and actually keeping it.
Lesson: Onan deliberately avoids his responsibility out of self-interest. Watch for when self-interest quietly shapes your choices while still wearing the appearance of doing the right thing; the difference matters, even when no one else can see it.
See Also: Genesis 38:10; Onan's refusal to fulfil his duty to his brother's line here leads directly to the same fatal judgment his brother Er had already received.
Original Language: וְשִׁחֵת (veshichet, H7843) - 'spilled', more strongly 'spoiled', 'ruined' or 'destroyed', the same verb used of the flood destroying the earth (Genesis 6:13). The choice of such a strong word shows that the narrator sees Onan's act as deliberate sabotage, not accident. וַיֵּדַע (vaiyeda', H3045), 'knew', here has its ordinary sense of 'realised': he understood that the child would legally count as his brother's, and that is why he acted.
