Vanity and self-righteousness