/ˌselfˈraɪ.tʃəs.nəs/

self-righteousness

feeling or behaving as if what you say or do is always morally right, and other people are wrong 以正人君子自居的;自以为正直的