Romans 1:24-29 for the ‘ladies’.
Onan was not about masturbation; but failing to fulfill a REQUIREMENT.
Genesis 38:8-10
Then Judah said to Onan, Sleep with your brother’s wife and fulfill your duty to her as a brother-in-law to raise up offspring for your.
What's the difference, Elsie? We already fully know that masturbation fulfills no requirement beyond temporary, immediate sexual pleasure certainly it does not have any further purpose at all.