If you only resist outwardly and don't address the root cause, you won't gain much; in fact, temptations will come back to you more quickly and be even more intense. Gradually, through patience and perseverance, you'll overcome these challenges with God's help, rather than by force and your own willpower.