self-righteous
adj
convinced of one's own righteousness especially in contrast with the actions and beliefs of others
: narrow-mindedly moralistic