I have done just this, and felt hopeless as long as I focussed on my sin. God knows when we really are repentant and broken in our sinfullness, or if we just want a fix to a situation we are in. However if we really are ready to forsake our sin we can focus on Him and be free.
Phl 3:13 Brethren, I count not myself to have apprehended: but [this] one thing [I do], forgetting those things which are behind, and reaching forth unto those things which are before,
Rom 6:11 Likewise reckon ye also yourselves to be dead indeed unto sin, but alive unto God through Jesus Christ our Lord.
God showed me that we become like what we look at. If we focus on our failures, we become a failure. If we focus on Jesus, we become like Him.
2Cr 3:18 But we all, with open face beholding as in a glass the glory of the Lord, are changed into the same image from glory to glory, [even] as by the Spirit of the Lord.
The Lord showed me this way: I saw a bookshelf in front of a window. Half the shelf was in front of the window, and half in front of the wall. Both places had identical crysal vases. The one in front of the window was illuminated by the sun that shown through it, the one in front of wall was barely visible because all you could see was the wall paper behind it.
He showed me people who watched TV all the time talk almost exclusively about the latest programs, those who read the stock market, talk about stocks. Those who are on witchhunting missions, see evil all around them.
We become like what we look at:
Phl 4:8 ¶ Finally, brethren, whatsoever things are true, whatsoever things [are] honest, whatsoever things [are] just, whatsoever things [are] pure, whatsoever things [are] lovely, whatsoever things [are] of good report; if [there be] any virtue, and if [there be] any praise, think on these things.
9 Those things, which ye have both learned, and received, and heard, and seen in me, do: and the God of peace shall be with you.
1Jo 3:2 Beloved, now are we the sons of God, and it doth not yet appear what we shall be: but we know that, when he shall appear, we shall be like him; for we shall see him as he is.
God also showed me a darkened room. Someone turned on the light and the darkness disappeared. The darkness was still there, but the surpassing brightness of the light swallowed up the darkness. When we saturate ourselves with His word, with worship, with prayer and fellowship with solid believers, we will see our darkness grow dimmer and dimmer. However if we step away from the light our darkness remains.
1Jo 1:7 But if we walk in the light, as he is in the light, we have fellowship one with another, and the blood of Jesus Christ his Son cleanseth us from all sin.
Jhn 11:10 But if a man walk in the night, he stumbleth, because there is no light in him.
Eph 5:8 For ye were sometimes darkness, but now [are ye] light in the Lord: walk as children of light:
I repented of my backslidding and am pressing into all He is. My joy and peace is restored, so can yours be, and should be, as long as you are truly wanting to be really set free from the sin that has bound you. Some of us feel guilty about our sin, but still like it. It won't be until we truly hate it that we will find lasting victory.
I pray total deliverance for you.