I totally know what it feels like to be in that position bro. Here's my testimony:
God delivered me from the bondage I had to homosexual thoughts and to the secret homosexual lifestyle I've lived. It leads to a path of destruction. I knew this wasn't how God intended for us to live and I wanted to experience freedom from it. For me, as I sought the Lord, God helped me recognize that the root of my homosexual tendencies had to do with believing the lies of the enemy about who I was and how this is how things were after certain childhood experiences that allowed the enemy to influence me to believing those lies. But God is faithful and He restores what the enemy has taken away from us for He is a God of justice and restoration!
Knowing who I truly am and who God has called me to be as a man through His Word and experiencing the FREEDOM that is only found in Jesus by surrendering everything to Him TAKES AWAY the desire to live in old sinful ways/habits! We are a new creation in Christ! We are healed! We are free from bondage and overcome sin and the powers of darkness by His name when we continually surrender our lives to follow Him!
This is not to say that I am not faced with certain situations in which temptation to fall back into sin is there. I have been, just like any other Christian. But when that time comes, thank God He does provide the way out (1 Cor. 10:13) and it is then my choice to be obedient to His Word, to remember who I am as a man in Christ, speak and meditate on what the Word of God says. There are many passages in the NT (many of them in the books where Paul is preaching) that talk about overcoming sin by the power of God and choosing to follow His Word. Here are a few encouraging parts of Scripture that has helped me in my walk with God:
1 Thessalonians 4:3-5, 7; Ephesians 6:10-18 (putting on the armor of God); 1 Corinthians 6:6-20; Romans 6 (being dead to sin and alive in Christ); Mark 11:22-25; John 15: 5-8.
Psalm 119:9-11
9 How can a young person stay on the path of purity?
By living according to your word.
10 I seek you with all my heart;
do not let me stray from your commands.
11 I have hidden your word in my heart
that I might not sin against you.
Ephesians 6:10-18.
10 Finally, be strong in the Lord and in his mighty power.
11 Put on the full armor of God, so that you can take your stand against the devil’s
schemes.
12 For our struggle is not against flesh and blood, but against the rulers, against the
authorities, against the powers of this dark world and against the spiritual forces of
evil in the heavenly realms.
13 Therefore put on the full armor of God, so that when the day of evil comes, you may
be able to stand your ground, and after you have done everything, to stand.
14 Stand firm then, with the belt of truth buckled around your waist, with the
breastplate of righteousness in place,
15 and with your feet fitted with the readiness that comes from the gospel of peace.
16 In addition to all this, take up the shield of faith, with which you can extinguish all
the flaming arrows of the evil one.
17 Take the helmet of salvation and the sword of the Spirit, which is the word of God.
18 And pray in the Spirit on all occasions with all kinds of prayers and requests.
With this in mind, be alert and always keep on praying for all the Lord’s people.
In light of all this, I ask for support from you guys and to agree with me in prayer for continual restoration. Let's "encourage one another and build each other up" as a family of believers! (from 1 Thes. 5:11)
I thank God for His forgiveness, His love and His grace. He loves every person at what
ever walk of life they are in. "... He is patient with you, not wanting anyone to perish, but everyone to come to repentance." (2 Peter 3:9b)
"Brothers, if someone is caught in a sin, you who are spiritual should restore him gently. But watch yourself, or you may also be tempted. Carry each other's burdens, and in this way you will fulfill the law of Christ." (Galatians 5:22)
Our God is able! God bless!