Jesus never said a word about homosexuality. In all of his teachings about multiple things - he never said that gay people should be condemned. I personally think it is very fine for gay people to be married in civil ceremonies.
I think that what went wrong with religion is the same thing that went wrong with politics. Is that it became too money based and too controlling. It's just a weakness that we human beings have for control - we want one thing and then we want more and then we want more.