Jesus is perfect, not a perfectionist.
Pride and insecurity seem to be complete opposites but they have one major thing in common: they value the same thing.
What do we do with lies? We combat them with the truth. When your thoughts begin to return to that dark, twisty place say “No. I am fearfully and wonderfully made” or “I am His masterpiece, created in Christ Jesus for good works”. But instead of reciting these verses from rote, learn what they mean. What does it mean, practically, for me to be a masterpiece of God? How does God’s masterpiece act? What does it mean to be fearfully and wonderfully made?