Molière said this quote

Displaying vice to the mockery of men deals it a great blow. Men put up with admonition but are loath to be mocked. One might be willing to be wicked, one cannot bear to appear foolish.