"Your diet is too spicy; try eating bland foods and maybe you'll masturbate less, SINNER!"
"Your diet is too spicy; try eating bland foods and maybe you'll masturbate less, SINNER!"
Potentially schismogenisis at least in the Christian and Muslim traditions. Middle Eastern and European pagans had more comfort with sex. Ultimately this has resulted in a lot of sexual liberation movements coming with rejection of religion. Though you do occasionally get Christians who are super into free love and consider it a part of Christianity.
That said, this is just a guess. I strongly suspect that individuals who are deeply ashamed of their sexual desires or lack thereof latch on to prudish relitions as a justification to try to fix people having sexual desires.
I think it originates from ancient social constructs. Because its very easy for men to knock up women and then abandon them and their child, it became necessary to have social rules to ‘bind’ couples through marriage. And strongly forbid sex outside marriage or adultery. In biblical times, adultery was such a severe crime it was often a death sentence.
These days contraceptives are so widely available it makes zero sense. But it made some sense in early civilizations thousands of years ago when infantcide was a very common practice.