For by Him all things were created that are in heaven and that are on earth, visible and invisible, whether thrones or dominions or principalities or powers. All things were created through Him and for Him (COLOSSIANS 1:16)
God is perfect—we know that! Your question, Wesley, talks about Lucifer’s sin and Lucifer’s heart. This is where we need to be careful. Yes, the Bible tells us some things about Lucifer (Satan) and angels . . . but it is not a book about angels. God tells us in His Word that angels are created beings; they can never be like God. They are not all-powerful or all-knowing. Because they are not all-powerful, they can choose evil. Lucifer chose to turn away from God and became evil. He wanted Adam and Eve to turn away from God by disobeying Him, and Satan is still trying to get people to turn away from God today.
I believe that the sin and vanity in Lucifer’s heart came when he chose evil over good and stopped glorifying the One who created him, the One who is all good and holy. Lucifer’s rebellion was his own choice to turn against God. Because Adam listened to Satan instead of God, sin was brought into the creation. And please remember that although the Bible does tell us a little about angels, it is really a book about God and His wonderful plan to save people (like you and me) through Jesus Christ.