A lot of my progression as a software engineer has come from decoupling my ego from the things I produce. That’s hard to do because the code you produce is a very strong reflection of your mental models and it’s justified to feel some connection to it.
Tactfully navigating this kind of thing in code review takes practice.
In my experience, the best teams of programmers work through problems with their egos held to the side.