self-righteousness
noun /ˌself ˈraɪtʃəsnəs/
/ˌself ˈraɪtʃəsnəs/
[uncountable] (disapproving)- the attitude that what you say or do is always morally right, and other people are wrong synonym sanctimoniousness
- He had a look of smug self-righteousness on his face.