Sex is a normal and natural human function. Religion dictating right vs wrong regarding human copulation is simply another way power hungry men endeavor to rule their subjects. You most certainly should not have been made to feel dirty and disgusting, but that mindset likely was drilled into you by the religion.
Work on loving yourself....being the best you can be. Suicide attempt indicates an awful lot of inner turmoil....I do hope you have gotten professional therapy....and keep at it.