Self-justification
Self-justification describes how, when a person encounters cognitive dissonance, or a situation in which a person's behavior is inconsistent with their beliefs, that person tends to justify the behavior and deny any negative feedback associated with the behavior.
Read more about Self-justification.