You misunderstand me. I'm saying that homophobes are idiots and that some of them use religion as a justification while some of them don't.
IMO, the underlying driver for homophobia is idiocy. That is why, in my experience, religious people who are not idiots won't be homophobic and why non-religious people who are homohobic will be idiots.
I make no claim that there is nothing that could be considered homophobic in any religious book.