Salvation is not a matter of giving up something, but receiving something. We as fallen creation must come to God recognizing that we are sinners who deserve to be separated from Him forever. But on a cross over two thousand years ago, Jesus Christ, as the perfect Son of God, paid for our sins by dying as our substitute. The third day He rose again, demonstrating His victory over sin and the grave. Since He paid our debt of sin in full, we must place our trust in Christ alone as our only way to heaven, our only basis for forgiveness. Christ so simply said, "Most assuredly, I say you, he who believes in Me has everlasting life” (John 6:47).
Romans 1:27 clearly states that homosexuality is a sin, but so is envy, murder, deceit, evil thoughts, etc. (Romans 1:29). God is not asking us to give up our sin to come to Christ. He is asking us to admit we are sinners, doomed to an eternal separation from God. Once we do trust Christ, however, He will help us remove from our lives all that should not be there. He will fill every emptied space with Himself, making us a new creation (2 Corinthians 5:17).
If we sincerely trust Christ and seek to grow as Christians, God through His Holy Spirit will convict us of all the sin in our lives that is displeasing to Him. Whatever that is, whether it be hatred, cheating, pornography, or homosexuality, we will be miserable in our walk with Christ if we do not confront that sin. Once we are His children, out of His great love, God wants us to do what is pleasing in His sight, according to His Living Word, and what is deserving of eternal rewards in heaven.