you are correct Onan was not masturbating but I think he was withdrawing not to conceive.
So many of us who are Christians feel guilty about masturbation but NO ONE can find any>
5 depending on God's grace gives hope
6 my dark side , my hurt inner being my struggle
8 looking to the day of overcomming