Baruch Spinoza said this quote

It may easily come to pass that a vain man may become proud and imagine himself pleasing to all when he is in reality a universal nuisance.