God has created everything that ever has been, is, or will be (John 1:3). This includes physical beings and matter as well as spiritual beings (Colossians 1:15-17). The only person who has the power of being in and of Himself—meaning He has no beginning or ending—and is self-existent is God (Exodus 3:14). All other beings were therefore created by God and belong to God (Psalm 24:1).
There are prophetic, biblical references to the King of Babylon and the King of Tyre. These personages are considered by most scholars as types of Satan (Isaiah 14:12-15; Ezekiel 28:13-17). These two passages give the reader a bit of history concerning Satan and his origins. Verse 12 of Isaiah 14 says Satan’s beginnings were in heaven. The Ezekiel 28 passage says Satan was created (verse 13) as one of the cherubim (verse 14) and was blameless until sin was found in him (verse 15).
The Bible describes the root of Satan’s sin as pride (Ezekiel 28:17). Before Satan was expelled from heaven, he must have been very beautiful both inside and out (Ezekiel 28:12). Ezekiel 28:15 is careful to say that Satan was created “blameless,” and his sin was of his own doing (Ezekiel 28:16-18). So it would be incorrect to believe that God created Satan with sin already present in himself. God is holy and does not create anything that is contrary to His own nature (Psalm 86:8-10 ,Isaiah 40:25;57:15).
So, while it is correct to say God created Satan, it’s never correct to say that God created the sin within Satan. Satan chose his own course (Isaiah 14:13). God never causes sin (James 1:13), even though He has created a world where sin is possible. Some day God is going to put an end to Satan and all sin (Revelation 20:10) by confining him and his minions to everlasting punishment.