Many times, in my walk with God, I will stumble on the same thing over and over again. Chances are that you go through the same thing, after all, it is a natural thing. We are all humans, and therefore we will stumble. This cannot become a habit though.
Because God cannot be where evil is, He will not bless your life when you are surrounding yourself in sin. Psalm 66:18-19 says, "If I had cherished sin in my heart, the Lord would not have listened; but God has surely listened and heard my voice in prayer." This verse is not saying that you have to be perfect before you go to God, it is saying that God will not bless us when we surround ourselves with sin.
Pray to God asking Him to surround you with strength that only He can provide. Ask Him to watch you, and help you with the temptation that is brought your way. Dive deep into God's word and run from sin, and you will find that God's been there all along waiting to bless your life.