Answer:
self-affirmation
Step-by-step explanation:
Based on the information provided within the question it can be said that this behavior is a description of self-affirmation. This is a term used in the field of psychology where an individual recognizes and asserts the existence or value of the different characteristics or traits (one's self). Thus compensating for another undesirable trait or behavior.