I can only tell you what I experienced and the beliefs formed because of it. I don't think anyone knows the ultimate truth of what you are asking and I gave up on guru, and spiritual leader, types a long time ago. Their answers just didn't completely sit right with me. It is like asking someone what is the meaning of life. I believe that is how it should be so that we can have this human experience in a pure form but there are people who do see through the veils, sts, and have an ability to share some knowledge that is still heavily influenced by their beliefs but also the inability to interpret the symbolism of what they "see". It all depends on the culture they were born into to and how influenced they are by it and all those underlying beliefs people think they don't have.
I also think that weak, or ignored, intuition is also responsible for misinformation and even Ni and Ne base will misinterpret symbolism which is often very personal and not as universal as people may believe. That is why they will apply their own insights to everyone. No offense to my Ne friends but they will offer up so many alternate interpretations of the symbolism of my dreams that I have to stop them and tell them that I already know what it means for me personally. Sometimes though someone else will nail it and offer up something I just could not see for myself. It helps me feel connected when they do. It is when it comes to interpreting other people's symbolism that I get a bit disoriented and often resort to Ne to try and help them understand. It is a real annoyance to me to have to use Ne and I do not prefer it but have used it when I felt forced to. It is very unsatisfying. I don't always trust my own Ni or even when I do I feel like it might be rejected so I keep alot of stuff to myself.
I do believe that in the end we judge ourselves. Even psychopaths will start to lose cognitive functions (I think of them as filters) when dying and something else starts to take over. It is probably why so many have a "life review". I did not have one for the record. I felt the sensation of speeding through a dark tunnel and it was so cold. Then I felt the most alone I had ever felt in my life, even though I could sense and hear others around me, I was actually lonely. Loneliness is not a feeling I experience often so it was even more disconcerting. It was a feeling of complete separation from anything but my own sadness. I think one of my greatest fears up until then was that I was all alone in this world no matter how many people were around me. I did not trust people, for many good reasons, but at the same time I wanted to trust so I put myself in situations where my belief that people were untrustworthy would just be proven over and over again. It is complicated.
I have done some things that some people might consider evil but not with malicious intent. More because of selfishness and cutting off my empathy so I could get things done and literally survive some situations. All this seemed to come back on me when I "died". The disconnect I forced on myself, in life, was what I felt when I died. It was really horrible to be honest. I came back never wanting to feel that separate from humanity ever again but old habits die hard and it took several major fuck ups to really get it. I am not sure if I even get it completely now but I know I do not want to feel the magnitude of that sense of separation even again so I do not cut myself off from my empathy. I learned to channel it instead. Empathic connections to everything (not just people) around me had been a burden to me most of my life because I seemed to feel things more deeply than other people around me. I thought I was controlled by forces that were outside of me. I did not know what to do with that so drugs and alcohol was my way of shutting it down.
Good and evil are subjective ideas/beliefs but I believe we each do have a moral compass of sorts. I don't believe the moral compass is in tune with any religious or man made belief systems. It is something that comes from someplace else. I think once we are in this world it is up to us to either listen to it or not since it is a choice. I have a feeling that when we are dying the filters start to crumble and we see things quite differently without those filters.
All this to say, I can't tell you what is good and what is evil and how that plays out when we are dead. I have my own ideas but I feel some people have to experience things for themselves and reach their own conclusions and accept their own limitations in this area. That's what I have done.