The more religious a society the more intolerant it will be. There was almost no homophobia prior to Christianity and islam. the vast, vast majority of all atrocities committed against homosexual people, in the history of mankind, has been at the hands of Christians and Muslims. In the ancient world, in aboriginal tribes on all of the continents and island groups, homosexuality seems to have not only been accepted, but ofter revered. Homosexuals typically tok the roles of Shaman, medicine man and medicine woman, tribal teachers, tribal negotiators, counselors...
Same-sex sex was openly practiced and accepted in the largest empires in the world, in the Greek, Persian, and Roman empires and in some of the ancient Chinese Dynasties.
The really sad thing is that neither God nor Jesus ever once said a single bad word about homosexuality or same-sex sex [Ten Commandments and Matthew, Mark, Luke & John]. In the original ancient Greek scriptures, written by Paul's Scribe, Paul never said anything against homosexuality or same-sex sex in either Romans nor Corinthians. It was later translations (King James) where translators lied to fill out their own hateful agendas, induce fear in the population to bring in more money to the church. the church did the exact same thing with witches, blaming the European Little Ice age on witches, setting up a systematic system for murdering innocent women and men.
Now Christians felt they had permission from god to hate, to torture, muser, imprisonment and discrimination against Homosexual people. The torture and imprisonment went well into my lifetime. The stuck picks up through the eye sockets of men and women to to destroy parts of their brains (Lobotomy) as a cure for homosexuality, while turning them into living vegetables. We were tortured with high amperage electrical-shocks to the genitals, which are still happening in America now by Christian operators promising parents to convert their Christian or Mormon child back to being heterosexual. They also still use chemical versions on Children, using ammonia to induce vomiting, while being shown homosexual pornography.
People justify their own evil in the name of God, often encouraged by Priests and ministers (USA).