The Ego builds a value and judgment system. Under threat, fear of rejection, non-approval, failure. Dictated by the need for acceptance, validation, affirmation from a person or group. Values and goals become whatever gains and secures that approval. The decisions and actions rewarded by the approval and acceptance.
The system, a closed loop – trigger, action, validation.