The high level of consciousness that scripture comes from knows that almost all evil is the result of humans wanting to reproduce themselves at the expense of others. Some of the purest and most virtuous human beings are those that give up their reproductive advantage and sacrifice for the group. However, this doesn’t mean sex and sexuality are bad things.
Humans are products of biological reproduction. Humans can do good as well as evil. Thus, human decency and compassion can also be selected for within the propagation of the species.
The idea that all sex is bad and that not having sex is a virtue unto itself is a misconception, in my opinion.
Worse is that men have punished women for their own lust, rather than punishing themselves.
Basically women are forced to walk around like this: …
… because it’s too inconvenient for men to walk around like this: …
…, in my opinion.