Only if you're arguing that things can only be either good or bad, m. It is possible for me to find some of the doctrines of these religions abhorrent while also accepting that the religions themselves have also had beneficial effects for the civilisations they have formed.
Besides which, of course, there are not many societies in human history that have been wholly accepting of homosexuality (even the Greeks abhorred sodomy, for instance). There are perfectly good evolutionary reasons for this that have nothing to do with religion. However, the question of to what extent homophobia is innate is one people tend to shy away from. Religion makes a very handy scapegoat in that sense.