The words themselves are modern inventions, reflecting the western medicalization of the concepts, which in turn reflected bigotry — declaring something an “illness” is a great way to get people on board with eradicating it. But gay people and gay relationships existed in pretty much every society for which we have records, long before the British decided to coin a new word. (And in fact, so did trans people.)
A rose by any other name smells just as sweet, etc.
Your ignorance on this is truly stunning.