cognitive dissonance

psychological tension created by holding contradictory thoughts, beliefs or attitudes particularly relating to a decision which has to be made, or in relation to current behaviour or practice.