In Plato's Phaedo, Socrates shares his vision of the afterlife, a vision that may or not be accurate, but an afterlife in which good is rewarded and wickedness punished. Socrates envisions an afterlife where punishments are decided by the victims of the wicked, a carefully, crafted image of the punishments Socrates would like to see enacted on earth.
Plato's Phaedo