If God were good, He would wish to make His creatures perfectly happy, and if He were almighty, He would be free to do what He wished. But His creatures are not happy. Therefore, God lacks either goodness, or power, or both. This is the problem of pain in its simplest form.