I'm almost certain it's said by Sazed in Hero of Ages.
The quote is about how God does not prevent all bad from happening but has to find a balance. That balance may not be where we want it to be, but does protect us from worse evils.
Anyone know what I'm talking about?