The evil that we do and suffer from is chosen by us and not by God,

"...God wills no wrong to His creation." [3:108]

However, God also guarantees us that aside from our own evil actions and their effects, God Himself will put us through some trials and tribulations here on earth .