James 4:5-7 AMP
5 Or do you think that the Scripture says to no purpose that the [human] spirit which He has made to dwell in us lusts with envy? 6 But He gives us more and more grace [through the power of the Holy Spirit to defy sin and live an obedient life that reflects both our faith and our gratitude for our salvation]. Therefore, it says, “God is opposed to the proud and haughty, but [continually] gives [the gift of] grace to the humble [who turn away from self-righteousness].” 7 So submit to [the authority of] God. Resist the devil [stand firm against him] and he will flee from you.