Fyodor Dostoyevsky said this quote

If it could come about that each of us were to describe his innermost secrets –secrets which one would hesitate to tell not only to people at large, but even to one’s closest friends, nay, to fear to admit even to one’s own self - the world would be filled with such a stench that each one of us would choke to death. That’s why, speaking in parenthesis, all our social conventions and niceties are so beneficial.