We inherited the tendency to sin from Adam. If it weren't for this imperfection, we would not have this tendency.
Homosexuality is a sin, and the wages sin pays is death, but it is not the only sin. Lying, cheating, stealing, murdering, raping, fornication, adultery, and other practices are also sins.
What we need is accurate knowledge of sin, faith, repentance, forgiveness, and living a new life striving to imitate Jesus' example.
Matthew 7:13, 14
13 “Go in through the narrow gate, because broad is the gate and spacious is the road leading off into destruction, and many are going in through it; 14 whereas narrow is the gate and cramped the road leading off into life, and few are finding it