Speaking as someone who struggles with grave sin, I’ve got to tell you that’s just not how it works. Sure, I can shove the computer away or put filters on it or whatever, but does that really address the root of my problem? Will I ever really grow spiritually if all I focus on is not committing this particular sin? No.
It’s fine to give yourself every opportunity to succeed in fighting sin, but you can’t run away from it. It’s good for me to limit my access to computers so I’m not tempted to view pornography, but it’s not like that can be my entire program for spiritual growth. In fact, it’s actually just a small part of it.
Learning how to surrender when tempted is also important, but it’s really more about the proactive stuff. Going to Mass more often. Going to adoration more often. Going to scripture and recovery groups. Socializing with people more often. Praying every day.
Finding ways to deal with conflict/temptation in the moment is important, but you can’t derive strength from that. You derive strength from the proactive ways in which you become closer to God. The closer you get to Him the easier it is to implement the game plan for dealing with temptation and conflict. Those are the battles. But you can’t just jump into battle without training and a fully stocked arsenal.
As with any spiritual fight, you can’t run and you also can’t win without God fighting your battles for you. And you can’t really trust that He’ll fight them for you unless you grow in relationship with Him. So no, you can’t run and that means yes, you will fall down. You will fail. But as you fail from time to time, you also become more aware of how reliant you have to be on Him. You create a virtuous cycle of sorts. You fall down, you repent, you ask God for help. That’s actually a virtuous cycle!
The vicious cycle is when you fall down and you stay down, you beat yourself up, you despair.
If you keep hope in his strength foremost in your mind, you will ask God for help every time you fall in every aspect of your life. And the more you do that, the more you surrender to Him. The more you surrender to Him, the more you do His will and not yours… so the less you fall.