i think it is a little unfair to chalk it all up to or "blame" it on religious dogma.
there are a lot of other reasons, philosophies if you will, that dictate someone's behavior about the who , where ,when and why about sexual encounter.
and i am not speaking of alcohol or drugs