|Ezekiel 28 states:|
"Moreover the word of the Lord came to me, saying, " Son of man , take up a lamentation for the king of Tyre, and say to him, 'Thus says the Lord GOD: You were the seal of perfection, full of wisdom and perfect in beauty.
"'You were in Eden, the garden of God. Every precious stone was your covering: the sardius, topaz, and diamond, beryl, onyx, and jasper, sapphire, turquoise, and emerald with gold. The workmanship of your timbrels and pipes was prepared for you on the day you were created.
"'You were the ANOINTED CHERUB who covers. I established you. You were on the holy mountain of God. You walked back and forth in the midst of fiery stones. You were perfect in your ways from the day you were created, till INIQUITY (sin) was found in you."' . . . Therefore I cast you as a profane thing out of the mountain of God; . . .'" " (Ezekiel 28:12-16)
Satan (or Lucifer, as he was known then) at one time was the covering cherub, one of the angels sitting right over God's throne (Ezekiel 28:14), but later he rebelled. The question then is why does God put up with Satan's continuing evil influences on mankind ( Ephesians 2:2; 2 Corinthians 4:4; Job 1-2)?
Although this can't be directly proven from Scripture, I believe reasonable deductions from the Biblical evidence can be made on this subject. By allowing evil to exist , God isn't merely trying to prove something to mankind, but also to all the created beings of the universe. Since people, or even the angels , won't necessarily take God's word for it on faith that some other way of life besides His works, He has allowed people to live and experience other ways of life. Here, this becomes a type of self-inflicted misery, but then people feel like blaming God for the evils their free choices brought upon them.
For example, God says not to have sex before or outside of the marriage relationship . But if people insist on doing so, and suffer consequences such as unwanted pregnancies , diseases, abortions, emotional upset and torment, unpleasant memories, etc., from committing adulter y, fornication, etc., then whose fault is it? If God denied us freedom to sin, people would complain about not having the freedom to find out if some other way besides God's way would work.
Presumably, a similar issue came up among the angels. Satan attacked God's character, and got one-third of the angels (Revelation 12:9) to side with him against God. These angels, like many of us humans, didn't trust God or have faith in God's revealed will as being loving and unselfish. God is presently allowing these spirit beings (the demons) to learn along with humanity that disobeying God's law isn't a successful or happy way to live.
God may also be allowing Satan to operate in order to help us develop holy righteous character more quickly, since Christians have to learn to resist against Satan's influence. Here the analogy would be with weight-training and the concept of resistance, only there's a spiritual principle being applied here: We develop the habits of obeying by our own free choice more solidly and permanently if we have to resist more in order to develop them.
God could have done away with not only Satan, but Adam and Eve also after they sinned . But He decided IN ADVANCE that if they (the humans) did sin, He would pay the price personally for their sin. Always remember, in Christianity , God in the Person of Jesus chose to suffer like humans from the consequences of sin and living in a world cut off from God. He didn't live an easy, sheltered life in the lap of luxury. Instead, He chose to die a horribly pain and humiliating death for people (in most cases) who didn't know what He did or who actively consented to His death.
Therefore, we should have faith in God that He knows what He is doing when He allows sin temporarily to exist in the universe as a temporary, unwelcome visitor.
God is in the process of making beings like Himself that have 100% free will (like He does) yet will also obey His holy righteous law of love 100% of the time (like He does also) (compare Matthew 5:48). This would be the main reason God allows evil to exist by deduction from the Biblical evidence.
Ultimately, we ALL must face and consider, throughout life, the fundamental admonition and principle found in Isaiah 55:
"Seek the LORD while He may be found, call upon Him while He is near. Let the wicked forsake his way and the unrighteous man his thoughts; Let him return to the LORD, and He will have mercy on him; and to our God, for He will abundantly pardon.
"'For My thoughts are not your thoughts , nor are your ways My ways,' says the LORD. 'For as the heavens are higher than the earth , so are My ways higher than your ways, and My thoughts than your thoughts.'
"'For as the rain comes down, and the snow from heaven, and do not return there, but water the earth, and make it bring forth and bud, that it may give seed to the sower and bread to the eater, So shall My word be that goes forth from My mouth; It shall not return to Me void, but it shall accomplish what I please, and it shall prosper in the thing for which I sent it.' " (Isaiah 55:6-11)
We aren't in a position to judge God and His actions, as Job did. Let's be humble, and faithfully and patiently await the day He'll abolish all sin. Thank you for your question about if God hates sin then why is the devil still alive.