Sigmund Freud said this quote

public self is a conditioned construct of the inner psychological self.