I believe the answer is: Self-serving bias.
Self-serving bias refers to a process that alter our opinion toward ourself in a way that always shine postiive light toward our personal self.
Self-serving bias is most commonly caused due to the effort to always maintain personal self-esteem and denial toward possible incompetence in our part.