What's helped me be more open to admitting I've made a mistake has been seeing my uni professors and now my colleagues, senior devs, own their mistakes. Growing up I didn't see much of that from my teachers for example. But getting to university it was very common for a professor to go "Oh yes, you're right I made a mistake there. Good catch." And now I'm seeing that attitude from the developers I work with and it's great.
People pointing out mistakes means that everyone is paying attention and we're less likely to put out buggy code that will cause a headache later.
For further actions, you may consider blocking this person and/or reporting abuse
What's helped me be more open to admitting I've made a mistake has been seeing my uni professors and now my colleagues, senior devs, own their mistakes. Growing up I didn't see much of that from my teachers for example. But getting to university it was very common for a professor to go "Oh yes, you're right I made a mistake there. Good catch." And now I'm seeing that attitude from the developers I work with and it's great.
People pointing out mistakes means that everyone is paying attention and we're less likely to put out buggy code that will cause a headache later.