It's God, He can do anything he wants
/thread
If God is all knowing, all good, and all powerful.. how is there so much pain and hurt on our planet? If he is all three why doesn't he rid the world of evil?
God is all powerful in the sense that he can do all things that are possible. But there are things that are eternally impossible even for God. For example, God could not create himself out of nothing. God cannot be completely good and completely evil simultaneously. God cannot create from nothing that which is self-existent. In scripture, God has told of one thing that not even he can do:
Doctrine and Covenants 93:29
29 Man was also in the beginning with God. Intelligence, or the light of truth, was not created or made, neither indeed can be.
This verse tells us that man is self-existent and that his intelligence has always existed. It tells us that because of the self-existent nature of man's intelligence, it cannot be created or made, not even by God himself.
So, if by nature man's intellect is self-existent, then it could not be created or made but has always existed. Thus God did not have the power to create it perfect since he didn't have the power to create it in the first place. Thus man as an eternal being cannot be created and thus cannot be created perfect. God thus took those intelligences and gave them spirit bodies and became their Father.
Hebrews 12:9
9 Furthermore we have had fathers of our flesh which corrected us, and we gave them reverence: shall we not much rather be in subjection unto the Father of spirits, and live?
Although God could not create us as perfect beings due to our self-existent nature, He did have the power to teach us how to become perfect.
Matthew 5:48
48 Be ye therefore perfect, even as your Father which is in heaven is perfect.
In order for us to become like our Father in heaven, we needed to have free will. God is a being of free will. Nobody tells God what to do. He is a being of free will. You cannot become a God by force. At some point you have to have free will and you have to have the character of a being who will want to choose good over evil continually. Thus free will is essential for any being to become like God. Man must learn to choose in and of himself to do good continually. Only then can he become like his Father in heaven.
So, as his spirit children in heaven we learned to use our free will while in his presence. Those who chose to be righteous were given the opportunity to further advance by coming to earth and receiving a body and learning to live by faith to choose in and of themselves to do good. Some rebelled while in his presence and became evil and corrupt.
Revelation 12:7-11
7 And there was war in heaven: Michael and his angels fought against the dragon; and the dragon fought and his angels,
8 And prevailed not; neither was their place found any more in heaven.
9 And the great dragon was cast out, that old serpent, called the Devil, and Satan, which deceiveth the whole world: he was cast out into the earth, and his angels were cast out with him.
10 And I heard a loud voice saying in heaven, Now is come salvation, and strength, and the kingdom of our God, and the power of his Christ: for the accuser of our brethren is cast down, which accused them before our God day and night.
11 And they overcame him by the blood of the Lamb, and by the word of their testimony; and they loved not their lives unto the death.
This life became a school ground for imperfect beings to learn to become more like God by choosing good over evil and learning to love one another. But because they were imperfect, and because they had free will, some of them would choose evil over good. God realized this before he even created the earth. He choose a Savior who would sacrifice himself so that mankind would have the opportunity to repent of their sins and return unto God. Through Jesus Christ man can receive mercy for his wrong doings and still have a chance at becoming more like God. Unfortunately, some do not choose to repent and take advantage of his love and mercy and thus will be subject to full justice of God for the bad choices they make.
The only way that God could do away with evil in this world would be to take away man's free will to choose in and of himself what kind of being he will be. However, this would also destroy the work of God in allowing man to choose good and become more like God. This earth life is temporary and in the end all that have received a body will rise in the resurrection and live forever. This earth life is not perfect but serves as a school ground for mankind to experience both good and evil so that he will know to prize the good. It is a school of hard knocks but in the end we will all be given immortality. This earth life is your test to see if you will learn to choose goodness over evil.
John 5:29
29 And shall come forth; they that have done good, unto the resurrection of life; and they that have done evil, unto the resurrection of damnation.
Jesus has shown us the way and prepared a way whereby we might receive mercy for our short comings. He offers eternal life freely.
Doctrine and Covenants 10:65-66
65 For, behold, I will gather them as a hen gathereth her chickens under her wings, if they will not harden their hearts;
66 Yea, if they will come, they may, and partake of the waters of life freely.