自以為是

Etymology
From  (《荀子·榮辱》):

Idiom

 * 1) to consider oneself in the right; to regard oneself as infallible; self-righteous