The Problem of Evil can be stated as an argument as follows.
P1: If God is all powerful, then God has the ability to eliminate unnecessary evil.
P2: If God is all good, then God has the desire to eliminate unnecessary evil.
C1: Therefore, if God is all good and all powerful, then there should be no unnecessary evil.
P3: But there is unnecessary evil.
C2: Therefore, God is not both all good and all powerful.