self-righteousness — A person's behavior based on the belief that he or she is right and the others are not.