Simply put, its all about free will. If God were to make it so everyone is always good and such, then he would be restricting what we do, therefore disallowing us free will.
In addition, without no evil, there is no good either, so there's that as well
NNID: b00moscone
Switch ID: SW-5475-6755-1986
3DS friend-Code: 4613-6380-5406
PSN: b00mosconi