Thank you for contacting BibleAsk.
God did not create the devil. He instead created a perfect angle his name was Lucifer. Lucifer was sinless as were all other angels. He was a “covering” cherub, or a highly exalted angel. Lucifer’s beauty was flawless. He was perfect in every way. His brightness was awe-inspiring. “Thou wast created” (Ezekiel 28:13, 15). “Thou art the anointed cherub that covereth” (Ezekiel 28:14). “Thou sealest up the sum, full of wisdom, and perfect in beauty … every precious stone was thy covering … Thou wast perfect in thy ways from the day that thou wast created, till iniquity was found in thee” (Ezekiel 28:12-15). And Lucifer (Satan) had free will and the ability to love or hate God.
But pride, jealousy, discontent, and self-exaltation arose in his life. Lucifer decided to attempt to unseat God and then demand that all worship him. “Thine heart was lifted up because of thy beauty, thou hast corrupted thy wisdom by reason of thy brightness” (Ezekiel 28:17). “For thou hast said in thine heart, … I will exalt my throne above the stars of God: … I will be like the most High” (Isaiah 14:13, 14). The devil who is only a mere created being desired to be like the Creator God. He desired to be worshiped. And later when he tempted Jesus in the wilderness, he demanded that Jesus worship him (Matthew 4:8-11).
Lucifer won the support of one-third of the angels (Revelation 12:3, 4) and caused rebellion in heaven. “And there was war in heaven: Michael and his angels fought against the dragon; and the dragon fought and his angels, And prevailed not; neither was their place found any more in heaven. 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” (Revelation 12:7-9).
God had no choice but to oust the devil and his angels. This was the greatest battle ever fought. After his expulsion from heaven, Lucifer was called Satan (adversary) and devil (slanderer), and his angels were called demons.
In His service,