Tell that to the gay kid who lived through god hates fags. Or the trans person today.
Speaking as a gay dude, it doesn't mean you have to follow a mainstream religion to find spirituality, especially one which tells you that you are an evil person because of who you are. Personally I've taken bits of various eastern religious beliefs which now form my 'spirituality'.
It's weird, its like there is some part of our mind that requires something spiritual to fill it, and has been that way every since recorded history. People have always looked for something higher than themselves, whether is be a god or gods, or the idea of nature or the universe, or any matter of similar ideas. And filling that part of our minds with a belief in something, seems to put the mind at ease in some ways. A lot of medical literature I've read includes 3 parts of yourself that you need to take care of: mind, body and spirit. So I really do believe there is something behind it.
It's funny that exactly like those religious extremists and other extremists that associate any kind of queer person to the boogieman that tried to convert your kids and have depraved sex parades on the street, it's exactly the same attitude with people demonising any kind of religious person, as if all are the same. We all humans are the same, it's just who and what we hate and appreciate that differs.