You will never so fortify yourself from the world that you will avoid sin.
Because wherever you are, your heart is there. Sin is an internal problem not an external one. That’s why legalism and will power only work for so long, and then fail. That’s why we look at the heart and meditate on the gospel. It is only the power of God that changes a heart. It is only the grace of God that teaches us to say no to sin. “For the grace of God has appeared, bringing salvation for all people, 12 training us to renounce ungodliness and worldly passions, and to live self-controlled, upright, and godly lives in the present age”(Titus 2:11,12)