Sigmund Freud said this quote

Men are more moral than they think and far more immoral than they can imagine.