James 4:6-7 (AMP)
6. But He gives us more and more grace (power of the Holy Spirit, to meet this evil tendency and all others fully). That is why He says, God sets Himself against the proud and haughty, but gives grace [continually] to the lowly (those who are humble enough to receive it).
7. So be subject to God. Resist the devil [stand firm against him], and he will flee from you.
Resist means to actively fight against. If you don’t know where trials and evil come from, you’ll end up submitting to what you should be resisting. When you submit to God (come under His mission), He’ll give you more than enough grace to overcome every trial and all evil. Have faith in His grace!!