1) create a disease a la Black Plague that will only affect truly evil people.
2) move the not so good but still ok people to another planet where they will have to ensure their own survival by working with nature. No technology allowed.
3) the good people and the innocent would usher in a new golden age, while making corruption due to said boon imposssible. Like, if you're a good person you're set for life. If you're an innocent person, you're set for life. This means any kind of tech, fantastic bodies without much effort, no diseases, amazing sex every time, and still make it challenging and fun enough to never have to get bored or complacent.
Have all of this happen forever. Like if a good person has a kid and that kid is evil then they die of that disease. Same for the other two categories - this would extend to whomever their kids are till the end of life itself.
What system would be in place to decide who is evil and how evil does an evil person have to be to die?
What about the "not so good people"
Would it just be determined by your own sense of morality?