I came across this song by Leeland which helps you when you succumb to temptation. The Bible says, "If we confess our sins, He is faithful and just to forgive us our sins (I John 1:9)." When you sin, you can receive God's forgiveness. So don't despair and give up following Jesus. Immediately ask God to forgive you. He will forgive.
I'm so glad God forgives, but He also desires that I do not keep sinning. In I John 1:8-2:2, the Disciple John tells followers of Jesus about sin and forgiveness.
If we say that we have no sin, we deceive ourselves, and the truth is not in us. If we confess our sins, He is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness. If we say that we have not sinned, we make Him a liar, and His Word is not in us. My little children, I write these things to you so that you may not sin. And if anyone sins, we have an Advocate with the Father, Jesus Christ the righteous. And He is the propitiation concerning our sins, and not concerning ours only, but also concerning the sins of all the world.Jesus made payment for your sins. He is our advocate before God the Father. He intercedes for you and I when we sin. And the great news is that He has provided the payment of sins for the whole world if each person would just accept Jesus as Savior of their life. Wow! Jesus takes care of your sins, of my sins.
He wants you and I to not sin. You can live with less sin in your life by trusting in Jesus and by obeying His ways. So don't despair or give up. Rather repair and live it up for Jesus!
Pastor D