1 Corinthians 10:13
Remember that the temptations that come into your life are no different from what others experience. And God is faithful. He will keep the Temptation from becoming so strong that you can’t stand up against it. when you are tempted, He will show you a way out so that you will not give in to it.
Using biblical keys, there is always a way out. We naturally move toward whatever we focus our attention on. The more you think about something the stronger it takes hold of you. Spiritually your mind is your most valuable organ. To reduce Temptation keep your mind occupied with God’s word and other good thoughts. You defeat bad thoughts by thinking of something good.
Fill your mind with those things that are good and that deserve praise, things that are true, Noble, right, pure, lovely, and honorable. If you’re serious about finding your way out, you must manage your mind and monitor your media intake. This takes a lifetime of practice, but with the help of the Holy Spirit you can reprogram the way you think.