Immanuel Kant said this quote

If we were to suppose that mankind never can or will be in a better condition, it seems impossible to justify by any kind of theodicy the mere fact that such a race of corrupt beings could have been created on earth at all.