James Kennedy said this quote

Barry Schlenker’s self-identity theory (1982) asserts that self-presentation is an attempt to control information about your identity before real or imagined audiences—including yourself. People try to provide explanations of their own conduct; they try to construct an identity that is satisfying to themselves and that explains their behavior in a favorable light. One of the criteria of a good explanation is believability; that is, explanations must fit with existing knowledge. Schlenker argues that people are not motivated to attain cognitive consistency as an end in itself; rather, they need to provide a believable and self -beneficial account of their conduct, and consistency is a by-product of that. The need to provide explanations for your conduct results in the construction of an internally consistent view of reality.