The evil is a necessary evil

The evil is a necessary evil in any of the million ways God could create the universe.

God puts His children into the best possible environment for them to live, learn etc…

Still – this best possible environment is a prison. They have no other choice but to stay in it and live as God told them is best for them.

This is why God has to give them the option to choose to live as they like and do what they think is good.

When you look around you see the consequences of what people did with it.