I'm sure the Onan story has been subjected to all sorts of interpretations, and yeah the story involves Onan "pulling out" while doing a special cuddle with his dead brother's wife...but my understanding is that in Talmud tractate Niddah it's stated that the trespass for which Onan is killed is the spilling of seed, rather than violation of the duties of levirate marriage.
Joey Kurtzman
Onanism
I'm sure the Onan story has been subjected to all sorts of interpretations, and yeah the story involves Onan "pulling out" while doing a special cuddle with his dead brother's wife...but my understanding is that in Talmud tractate Niddah it's stated that the trespass for which Onan is killed is the spilling of seed, rather than violation of the duties of levirate marriage.