I think a quick browsing of the internet will identify both Old Testament and New Testament references regarding homosexuality as a sin.
Here is one example.
Leviticus 18:22
22 “ ‘Do not have sexual relations with a man as one does with a woman; that is detestable.
Of course, the Bible is pretty clear that sex outside of marriage is also a sin. And thinking oneself better than others is also a sin.
The point is sinning is something we all do. We need to reconcile that with God. It is not something God put us in charge of accusing others of.
Another passage that highlights human behavior is where Jesus says worry less about the splinter in someone else's eye and more about the plank in your own.