what does the bible say?
The term "theodicy" refers to vindicating the divine attributes of God, particularly holiness, justice, and goodness while acknowledging the existence of natural, moral, and supernatural evil. The reasoning from unbelievers usually goes like this: 1) If God were all powerful, He could destroy evil; 2) If God were all good, He would want to destroy evil; 3) But evil is not destroyed; 4) Therefore, an all-powerful and all-good God does not exist.
Though theologians and philosophers have debated this theological issue perhaps more than any other, the Bible teaches that God is perfect, and evil temporarily exists for His purpose (Proverbs 16:4). Scripture attests to three types of evil: Natural evil, such as disease and physical catastrophes (Genesis 3:17–19; Romans 8:20-22); moral evil, such as the evil human beings inflict on each other (Jeremiah 17:9; Romans 3:10–12, 23); and supernatural evil, which is Satan and his demonic forces (Ephesians 6; 1 Peter 5:8). The Bible shows that God permits such evil at times to show His glory and deliverance (John 9:1-7). Even when God allows evil, He works it for good when it involves His children (Genesis 50:20; Romans 8:28).
God allowing evil does not mean He cannot stop it. To the contrary, Scripture teaches that God is omnipotent (Jeremiah 32:17; Matthew 19:26) and will one day make all things right (Revelation 21:4).