Thousands of years of bigotry yes, the Bible itself not necessarily. The one and only point of the entire text that mentions homosexuality is in Leviticus, the laws of which are Jewish Mosaic laws and not Christian ones, as any Christian who actually knows anything about their religion will know that with the sacrifice of Jesus a New Covenant was introduced which casts Levitical/Deuteronomical law as being null and void (hence no more sacrificing of animals, the ability to wear polycottons, and many more things), as stated in the New Testament and by just about every Christian scholar since. Even with this aside, it's actually widely believed now by Jewish authorities that in many instances (ie: if you're not a priest)
gay sex is not a problem and is preferable from a religious point of view to a life of misery.
I know that you love to believe that if something's happened for a long time it must be right, and fair enough if that's the way you want to define "good morals", but you can't make scriptural claims that are false