By far the best and most comprehensive intro to Jungian psychology.
If we do live in a simulation, Jung might have figured out the coded rules of human functioning.
p124
The more threatened the ego has been by lack of a certain constancy in childhood, through lack of love and affirmation, the more the resulting instability is compensated by rigidity, by excessive psychic inertia. The original forms of actualization of archetypal energy into complexes, with their associated details—the first images of oneself in interrelation with the world - tend to remain rigidly fixed, even stereotyped, a priori frames of reference, by virtue of which consciousness orients itself. We regard and approach life in the light of our childhood values and conditioning, that is, in the light of our complexes. This would explain why our sense of being and of security are so tied to our familiar, personally-actualized frames of reference, stymying and destructive as they may be. Every challenge to our personal habit patterns and accustomed values is felt as nothing less than the threat of death and the extinction of our selves. Invariably such challenges evoke reactions of defensive anxiety, sometimes producing the neurotic and even psychotic fanaticism with which we are so familiar in individuals, groups and mobs. These defense reactions even carry a quasi-religious character, for they are concerned with our deepest relation to existence and to its mystery. Innovations, new or different “foreign” cultural influences, usually evoke rejection and religious fanaticism, regardless of their merits or demerits. We can also understand in this context the death and rebirth symbolism attached to any transformation process and the insistence on the need to “die” as a necessary complement to this fixity of existence in the ego alone. The practice of shock therapy shatters the distorted ego complex to the point of extinction; contact can then be reestablished with the hope of forming new patterns. Brainwashing causes the same kind of shattering or regression of the ego through deprivation, starvation, social ostracism by cell-mates, ruthless insistent attack upon basic outlooks and upon bodily awareness; this brings about a deathlike experience of ego fragmentation which is then followed by a reconstruction in terms of the new and desired structural order.