My ex, still the one the great love of my life, ended our relationship when he became a born again Christian. This change was driven by the great shame and guilt that he felt over his attraction to, and intimacy with, me -- shame induced by religious attitudes. He said that God had cured him of his lust.
He dated women before we were together, and he now dates women exclusively, but I know he still struggles with his attraction for men.
Religion, guilt, and shame are all terribly destructive for LGBTQ lives.