Homosexuality, is not a weakness, it is a sin, and even worse, is classified as an abomination by God himself. It is not meant, by God, to be suffered with, but to be delivered from the soul of man by God’s salvation. Anything less is a form of unbelief in a righteous, all-powerful, and merciful God
If "homosexuality" refers to intentional thoughts (fantasies or lusts), words (such as identification as in "I am gay, and that's OK" gay pride), or deeds (cooperation in unchaste actions whether alone or with others) --- that is grave depravity.
Even approving of these things is a sin (e.g. straight "allies" of LGBT).
But ... If "homosexuality" refers to a degree of unwanted same-sex attraction to which a person does NOT consent, whether in thought, word, or deed, this is a temptation, not a sin. It is also a disorder, inasmuch as it is a deviation from a healthy male-female sex attraction. God can give us the strength to resist this disordered tendency in thought, word and deed.
It needs to be confessed and repented of as sin.
I dont doubt that its also demonic in origin.
The desires the person has may be demonically imposed without the person being aware that the thoughts and feelings they are having are not even their own.