God loves you! No matter what! He knows where you were and where you are going! Keep your eyes focused on Him and not on the sins that you commit. Repent as often as you need to and stand on 1 John 1:9. After you repent receive your forgiveness and cleansing from all unrighteousness. For the Blood of Jesus cleanses you from all sin.
The more you renew your mind with the Word of God....the more your desire for God will grow and will remove the desire for worldly behaviors and things. Let the living Word of God replace those worldly habits that lead to sin and death. Dive into the Word head first and don't come up for air
Living a life of faith and walking according to the Word takes practice, for you have to train your mind and your flesh to submit to God's ways. It took you over 20 years to get where you are and lasting solid changes don't always happen over night. It takes time to learn to walk. But remember that no temptation has seized you except what is common to man (1 Corinthians 10:13) and Jesus bought your victory over 2000 years ago, so the devil has no power over you except what you allow. So resist the devil and he will (has to) flee. Draw close to God and He will draw close to you and give you strength to overcome the works of the devil. In Jesus you are an overcommer!
1 Corinthians 10:13
There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear it.
Also read 1 John
1 John 4:4
Ye are of God, little children, and have overcome them: because greater is he that is in you, than he that is in the world.
God bless you! We will be praying for you!