cognitive dissonance
noun [ U ]
ukus HR
an uncomfortable feeling that comes from believing or thinking two different things that cannot both be right. This feeling might be caused, for example, when someone wants to or has to do something that they believe to be wrong:
I got a sense of cognitive dissonance when I bought a car that was more expensive than I could afford.