Some of the many ways of looking at evil, in the context of Spirit as beyond and including all polarities.
Evil comes out of confusion. It comes out of believing in the idea of I, placing it on this human self, and then creating a more elaborate identity that needs to be defended.
I see myself as an object in finite space and time, and need to protect myself. I take as I, and believe in, the more elaborate identity of this human self, and this also needs to be protected.
And since it is a death-and-life matter, I am willing to use death-and-life means.
Expressions of Spirit
It is an expression of Spirit. It is Spirit expressing, exploring and experiencing itself, in yet another flavor. It is awake emptiness and form, in one of its many expressions, inherently absent of good and bad, good and evil, better or worse.
It ads to the drama of Spirit expressing, exploring and experiencing itself. Spirit creates a sense of I and Other, place the I on this human self and Other on anything else, and the drama is in motion. There is more juice, more engagement, more liveliness, if it appears as a life-and-death drama.
Evolution and development
Souls develop over incarnations, and human selves develop within its lifetime.
Evil actions is simply the actions of an immature soul or human self, when pressed to its limits. When nothing else seems available.
Or we can say that evil actions happen when our circle of care, compassion and concern is exclusive. It may be that we see a strong boundary between we and them, dehumanize the Others, and see it in our interest to harm them, directly or indirectly. Or it may be that we are simply oblivious to the effects our actions have on others, although this is typically not seen as evil.
Over the course of the development of the human self, its circle of care, compassion and concern gets wider and wider. The circle of we and us expands to include more and more people, groups of people, species and systems. It can go from egocentric to ethnocentric to worldcentric and even to Kosmocentric, depending on the inner and outer conditions.
In egocentric, my circle only goes around me and maybe those most immediate to me. In ethnocentric, it includes my group, however it is defined - my nation, religion, ethnicity, age, political affiliation, and so on. In worldcentric, it includes all of us - which can be all of us human beings, all of us beings on this planet, all of this planetary ecosystem, all of us in past, present and future. And in Kosmocentric, it includes all of Existence, beyond and including all polarities. It includes all of Spirit as awake emptiness and the whole world of form.
Belief in an idea
Evil can be seen as coming from a belief in an idea. We believe in the idea of good and evil, create a definition for it (usually coming from culture or religion), and place it on the world.
We place it on top of something that is inherently free from good and evil, and then we act as if it is really there - because it is, for us.
Conventional views as a guidelines
And then there are the many conventional views on ethics, law and so on, which are all very useful (essential) in our daily life. They serve as guidelines for our own behavior, and also for how we will allow others to treat others.
Each of these views, and many more, have a good point. They are each true in their own way. They are each useful. But if we get stuck in just one, something else is left out and what we leave out will most likely come back to bit us. We act from a filter that removes most of the spectrum, and lose much of the information available to us.
We see it all as Spirit, and disregard conventional views, guidelines and laws. We stick only to our beliefs, and ourselves end up acting in less compassionate ways. We see it all as drama, and stoke the drama instead of helping people find relief from suffering and awakening.
The more of the spectrum included, the more we can see, and the more informed, and hopefully compassionate, our actions can be.