stick to your guns

Upper Intermediate (B2) informal

Not change your mind even when pressured.

"Despite heavy criticism, she stuck to her guns and published the article."