James 4:8
Come close to God (with a contrite heart) and He will come close to you. Wash your hands, you sinners; and purify your (unfaithful) hearts, you double-minded (people).
The more we turn away from the sinful distractions of the world, the easier it is for our hearts to stay clean and away from sin. The longer we stare at the unclean world, the more our minds will convince us that it is ok to participate in the compromise. The slope gets steep at the first step off the path as the devil can now barrage the brain with guilt, unworthiness, and shame, making us double-minded. Keep a guard on the heart and draw closer to God.