Ancient Greece history tells us that homosexuality can be taught. The Greeks were smart, at least, in preventing it from destroying the family. In current Western culture, the family is being destroyed with the help of homosexuality and promoted gender/sex confusion.
The Greeks and the Romans had arranged marriages and no artificial insemination, so someone who wanted to have citizen children needed an opposite sex spouse to do it in those societies. They didn’t have the big stigma against also doing sex acts with others besides your legal mandated spouse though.