An all good god would want to avoid evil; an all powerful god would prevent evil.
So the existence of such a god is simply inconsistent with the existence of evil.
Christians, Jews and Muslims have come up with all sorts of tortured excuses and double talk to try to weasel around this basic fact, but they always come up lame.
This is Wikipedia's summary of the response: "Attempts to resolve the question under these contexts have historically been one of the prime concerns of theodicy."
"Some responses include the arguments that true free will cannot exist without the possibility of evil, that humans cannot understand God, that suffering is necessary for spiritual growth or evil is the consequence of a fallen world. Others contend that God is not omnibenevolent."
"Some philosophers accept that arguments such as Plantinga's free will defense (in brief, that possibly God allows evil in order to achieve the ultimately greater good of free will) successfully solve the logical problem of evil in terms of human action; the question of how free will and God's omniscience are compatible remains, however"
But then there is the problem of natural evil, such as the cruelty seen in nature. William L. Rowe's famous example of natural evil: In some distant forest lightning strikes a dead tree, resulting in a forest fire. In the fire a fawn is trapped, horribly burned, and lies in terrible agony for several days before death relieves its suffering
There exist instances of intense suffering which an omnipotent, omniscient being could have prevented without thereby losing some greater good or permitting some evil equally bad or worse.
An omniscient, wholly good being would prevent the occurrence of any intense suffering it could, unless it could not do so without thereby losing some greater good or permitting some evil equally bad or worse.
(Therefore) There does not exist an omnipotent, omniscient, wholly good being.
Be Consistent
Christians denounce homosexuality because the bible is agin it.
But if they were consistent, they would seek criminalization of everything denounced in the bible, including adultery, banking, wearing mixed fibre fabrics, and eating anything from the sea that lacks fins or scales, such as oysters or crayfish.