There is another aspect of the creation of ethics and good and evil brought on by the formation of a society, and that is that instead of integrating the primal, and sometimes violent instincts with the new social and ethical structure, the individuals end up trying to suppress the instinctual aspects of the psyche that are incompatible with the social order. The disconnection of the conscious awareness from these primal individualistic energies which we have dammed up and pushed beneath our consciousness causes them to fester somewhat and to become perceived as dark and evil influences and thus we try all the harder to disconnect from these dark shadow aspects of our own psyches and deny their existence. Unfortunately, disconnecting these dark energies from our conscious awareness does not cause them to dry up and diminish. Neither does it prevent these energies from directly influencing our perceptions and behaviors even though it does prevent us from becoming aware of the powerful influences they exert. The influence of our shadows on our perceptions causes us to project onto others the darkness that lives in our own hearts.
War is the obvious outcome of such a situation when enemies are too close for comfort.
The influence of our shadows on our actions is such that we occasionally act first, and then figure out a justification to explain the motivations for our actions. Rarely do we second-guess our motivations and justifications. To do so might cause the unpleasant feeling of not being completely in control of ourselves. Our shadows are given free reign to influence us because we not only don't want to acknowledge them, we also don't want to acknowledge their influence in our perceptions and actions, and thus we all become masters of self-deception. Unfortunately, whole societies can succumb to the influence of the collective shadow such that the greatest crimes against humanity have always been committed by people following the law, believing in the justifications that they were given for their actions, and acting without any awareness of having committed a crime.