what does the bible say?
The term Onanism comes from the biblical figure Onan in Genesis 38:8–10. The later association of Onanism with masturbation is the result of a misinterpretation of Genesis 38, not the meaning of the passage. Scripture identifies Onan’s sin as deliberate disobedience against his responsibility as the husband of his brother’s widow.
In Genesis 38, Onan was to provide an heir for his deceased brother by fathering a child with his brother’s widow. This duty existed to preserve the family line and to protect the widow by giving her legal standing and provision. Though later codified in Israel’s law (Deuteronomy 25:5–10), this obligation was already recognized as morally binding. Onan agreed outwardly to the arrangement but deliberately acted to avoid conception while still taking sexual advantage of the situation. His actions were calculated and self-serving.
Because Onan refused to raise offspring for his brother and deliberately undermined the responsibility God placed upon him, God judged him with death. His sin was exploitation, rebellion against God’s command, and a hard-hearted refusal to love his neighbor. Using Onan’s story to condemn masturbation or specific birth-control methods goes beyond what the passage teaches.