This world is designed to operate in duality; every thing is paired with opposite attribute. Good faces the evil where virtues opposites to sin.
For every evil deed there is a virtues deed that counters its effect to maintain the equilibrium at its truth unto Maya.
In other words this world is a training ground for soul to interact with good and bad to prove self on the subject of truth, that alone who rises above the all opposites of duality can achieve freedom from the bondage of karma knitted by the Maya.
Jai Sri Baba Lal ji
May lord bless all.
Thanks please