The enemy can’t change God‘s mind, so he tries to change yours. Don’t let him. “Resisting the devil” means standing firm in truth (1 Peter 5v9). Stand on truths like these: God is good, even when my situation isn’t; I am loved, even when I feel (or have acted) unlovely; I am complete in Christ, there’s nothing left to earn or prove.