Seriously, and it's not just a momentary new idea or a rare thought to me, I'm really delighted with this physical Universe, as it is, so astounding.
There's isn't any possible way to have actual love -- which operates by free choice -- without also allowing evil to happen.
While you could have rigidly programmed robots without any autonomy that would never do harmful actions....they also would not love in any interesting/wonderful way. Such rigidly programmed entities could only be a simplistic/eventually boring mechanical nation.
Not worth having more than a day or a year maybe. Boring all too soon.
So, for love to exist, evil had to be possible, and so would happen plenty, right along with the good things.
We have to learn and be changed, to choose what's good and leave what's bad behind.
There's not another way to have a truly wonderful society in the end.