Dissonance

Cognitive dissonance is the unpleasant tension a person experiences when adopting conflicting beliefs, ideas or views, or when acting contrary to one's own beliefs. We feel uncomfortable when there is a difference between what we do and what we think about doing it. This experience unconsciously leads one to start one or more unconscious revisions to bring them more together, to make them consonant.