Leibniz believed the universe is the expression of Perfect Reason. Therefore, it must be the best of all possible worlds. All apparent evil would be transformed by a larger view of the universe.
Albert Edwin Avey, Handbook in the History of Philosophy. New York: Barnes & Noble. 1954. p. 151.