There is no single Bible preserved throughout history since its inception.
The Bible has some passages that arguably condemn all homosexual acts, others which are proved to be mistranslated, others which refer to practices and situations which no longer exist. Homosexuality, as a classification or social concept, did not exist until the early 19th century. The ancients acknowledged a wide range of sexual behaviors and situations which either do not exist today, or within a very particular situational context.
All of these interpretations rely upon translations of numerous ancient documents which have themselves been translated centuries ago, much of it in ancient Greek, Hebrew, or Latin. Compounding the problem is that there are frequent multiple interpretations, translation, fragments, or even contradictory contemporary documents and scholarly opinions. The compilation of a Bible is enormously difficult and time consuming. It requires the disciplines of archeology, linguistics, ancient languages, sociology, theology, and anthropology.
Compound all of this with the need to translate the Bible into just about every language on earth, many not having words or concepts familiar to the Bible compilers and translators, and the desire to sell Bibles to people who demand that the Bible says what they want it to say, and you have what is the single most complex literary effort ever attempted.
The only Bible any of us has ever read is a compilation of various documents which have passed through an untold number of translators from the Roman Empire, Dark Ages, Medieval, Renaissance, Reformation, Enlightenment, Industrial, Modern, and Existentialist eras. Each person adding or subtracting, interpreting or imposing, their own agendas and interpretations. Only some of those interpretations will have been done without any dogmatic goal. Keep that in mind when reading any part of the Bible.
One scholar argues that the exceptionally beautiful and erotic, "
Song of Songs," was actually written by a son of Solomon to another man.