For most or even all forms of evil serve the Universe - much as the poisonous snake has it use - though in most cases their function is unknown. Vice itself has many useful sides: it brings about much that is beautiful, in artistic creations for example, and it stirs us to thoughtful living, not allowing us to drowse in security.
Luxury, which cannot be prevented among men who are tenacious of their own convenience and of the respect paid them by others, soon completes the evil society had begun, and, under the pretense of giving bread to the poor, whom it should never have made such, impoverishes all the rest, and sooner or later depopulates the State.
The rule of law is essentially a negative value. The law inevitably creates a great danger of arbitrary power - the rule of law is designed to minimize the danger created by the law itself. Similarly, the law may be unstable, obscure, retrospective, etc., and thus infringe people’s freedom and dignity. The rule of law is designed to prevent his danger as well. Thus the rule of law is a negative virtue in two senses: conformity to it does not cause good except through avoiding evil and the evil which is avoided is evil which could only have been caused by the law itself.
Jung said the truth of the matter is that the shadow is ninety percent gold. Whatever has been repressed holds a tremendous amount of energy, with a great positive potential. So the shadow, no matter how troublesome it may be, is not intrinsically evil. The ego, in its refusal of insight and its refusal to accept the entire personality, contributes much more to evil than the shadow.