The concept of "justice in the afterlife" is a mix of wishful thinking and a means by religious elites to control the population.
The fool hath said in his heart, There is a God. They are corrupt, they have done abominable works, there is none that doeth good.
Psalm 14, KJV revised edition