This is the problem posed to Alvin Plantinga and other philosophers:
(1) God is omnipotent (that is, all-powerful).
(2) God is omniscient (that is, all-knowing).
(3) God is perfectly good.
(4) Evil exists.
But J. L. Mackie and H. J. McCloskey are only pretending to know God in the above construction, so in reality it did not need to be answered in the first place. You see, what they left out about the truth of God’s character is in point 3 and 1/2. So here is the more complete character of God:
(1) God is omnipotent (that is, all-powerful).
(2) God is omniscient (that is, all-knowing).
(3) God is perfectly good.
(3.5) God is at perfect peace with his human action and inaction
(4) Evil exists.