self-righteous
Describes a person or attitude that assumes one's own views and actions are always correct, often with a negative connotation of being smug or unwilling to listen to others.
彼の独善的な態度にはうんざりする。
I'm fed up with his self-righteous attitude.
独善的にならず、他人の意見にも耳を傾けるべきだ。
You should listen to others' opinions without being self-righteous.