Steven Pinker said this quote
“ Trivers, pursuing his theory of the emotions to its logical conclusion, notes that in a world of walking lie detectors the best strategy is to believe your own lies. You can’t leak your hidden intentions if you don’t think they are your intentions. According to his theory of self-deception, the conscious mind sometimes hides the truth from itself the better to hide it from others. But the truth is useful, so it should be registered somewhere in the mind, walled off from the parts that interact with other people. ”