Well. I was married to someone that thought it was disgusting, hated that I masturbated, and did her level best to shame me out of it. She also hated sex. (Well, with me; she suddenly liked sex once we were separated and she was dating.) And many fundamentalist religions do teach that no one should ever masturbate, and that women should always be sexually available to their husbands, no matter what. (Oh, and women don't have sexual needs or desires of their own, they just exist to fulfill male needs.)
That sounds rough, sorry to hear that. Being with someone that doesn't treat you well for too long is damaging. Sounds like you found one of the millions that was absolutely not the right one for you though and I hope you can let it just be that when you're ready. I could stand to take my advice to be fair lol.