Look at our lives today. How much of the pain that we suffer is caused by self-inflicted wounds? If we constantly struggle with things, maybe our friends, family and acquaintances are part of the problem. Maybe it is our job that leads us into temptation, or the neighborhood we live in. This is where we need to prayerfully seek deliverance, guidance and empowerment of the Holy Spirit. God will show us the changes that we need to make, and if allow him, the changes that only He can make in us.
So if you are struggling with sin(s), take some prayer time to ask God if there are environmental causes that can be remedied. Maybe a vocational change is in order. I don't know, but our surroundings can be a snare for us. My prayers are with you as you seek God's instruction.