The problem here is treating the Old Testament as a 'lump' rather than a series of very different works written by different authors over at least 700 years.
There's the 'Primary History' - Genesis to Kings, nine named books, probably composed when its author/s were exposed to the habit of literacy and to Hesiod and other Greek writers during the Babylonian exile and decided to collate their own stories, heroes, genealogies, myth and religious principles into a book explaining why they are distinct. So it has one God who is in a relationship with creation generally and humans particularly from the beginning of time. Very different from the Greeks, though God develops that relationship over time.
Then there are the 'writings', multi authored, poems, proverbs, philosophical reflections, some from very early, some late ones influenced by Greek ideas, the ancient simple story of Job. massively elaborated into something new.
The prophets, some of them already active before the Babylonian exile, some who wrote later in the period, all with different vividly expressed ideas about that human relationship with the world and with God. See the contrast between (very trippy) Ezekiel's panicked disapproval of female sexuality with Hosea's (in some ways irritating) more loving understanding of infidelity in a relationship.
And the stories/novellas about people: Ruth, an historical novella set in the distant past pleading for the rights of foreign wives and children; Judith, fighting back, Tobit; a family story with a woman who has to go out to work to support her family, Daniel; tales from the Jewish experience of Babylon, with the first locked-room mystery and a courtroom drama about creepy voyeuristic men - and transcendent poetry; Esther; a young woman in the royal court in Babylon targetted in an antisemitic persecution; Jonah's adventures with that demanding but maddeningly indulgent God.
And then, at the end of the Second Temple period, Maccabees - interaction with a new empire, war and tortures and horrid things happening to elephants, and the propriety of praying for the dead.
Lots about lots, family rows, exploiting the poor is bad, as is not paying your debts, hardly anything about sex, even less about homosexuality, and nothing at all about gender. The Greeks were always changing into animals and vegetables and even changing sex. None of that in the Bible.
Worth getting an understanding of - a complicated collection of ancient writings that are still influencing people two and half thousand years after they were composed. Any claim that 'the OT says this' can probably be countered with an example of 'the OT says that'.