I think they call this self-righteousness.

But I'm not whining...