Evil is not "created"< but it does exist.
God is THE Creator, but He did not create "evil", in the sense of man's carnal sinning, that is a result of Satan's nature committing deeds.
Let me explain.
Consider Lucifer...
"iniquity was found IN Him".....In Heaven.
"iniquity" is "sin".......and Lucifer sinned, and the Angel's sinned who followed him.
Before you were born again, you were a "sinner" because you operated in the nature of the Devil.
When you were sinning, you were simply functioning as the Devil's nature.
The Nature of the Devil, is SIN.
The devil is "fallen", and the sin nature in a person is the "Adamic FALLEN nature".
See that?
So.....If you are born again, then you are born OUT of that fallen nature and into God's Nature, which is "a new Creation in Christ".
This is why you are "ONE with God and Christ". = born again.
So, did God create "sin" in Heaven?
Not quite.
Yet a sinning Being was found there...because of his nature. = fallen.
Jesus said that Lucifer is : "a murderer from the beginning" and is the "Father of Lies".
So, to be the Father, is to be= the Creator... To be the beginning of something is to be the creator, in this case.... And so, evil is function and proof of the Satanic nature, and is in fact the "Adamic nature" which is why the Dominion of the LAW defines you as a "SINNER".
But...once you are born again, you are no longer under the Law's dominion, you are "under GRACE", which is the dominion of the Kingdom of God, and this Dominion redefines you, the born again, as a SAINT.
Evil exists, because Satan exists.
Evil is a nature, its the "sin nature"... as found in Lucifer/Satan/The Devil, and passed into us all, from Adam, because of the Fall.
Thats your EVIL, and that is why you were evil, and that is why you have to be be born again OUT OF THAT EVIL, and into God's HOLY Spirit. = That is "born again"..."One with God"...and "in Christ", and there is no evil there, and no sin ever found.
Jesus explains "evil" as being a nature, in this verse..>"you are OF your FATHER ..the devil, and the LUSTS of your FATHER= you will Do".
Who are they? They are all the lost, all those who are not born again. They are literally the Devil's children, and Hell is created for the Devil and his angels, and so, the Devil's children, the Christ Rejectors, will end up with their Father, for all eternity. = Hell then the Lake of Fire.
The Born again, end up with OUR Father, and that means with God where HE Exists, forever.
When you were not born again, , you were guilty before God, because of this situation.
John 3:36.
But. HALLELUJAH !!.....Jesus has now made you ETERNALLY INNOCENT before God, by becoming your sin and taking all the eternal judgement due you.......upon Himself.
This is the CROSS, The Blood Atonement.... and this is what it means to be "made righteous", by being given "the Gift of Righteousness", that is "THE GIFT OF SALVATION".
So....If you are born again, and not just water baptized....then you have become the "gifted" for all eternity.
=Welcome to being "born again".
So, see those "lusts". "of your FATHER" in that verse???......That is evil and where it BEGAN, and why it exists.
Its all due to Satan and his LUSTS which are SIN = EVIL.
When you perform Satan's nature, as LUST, then you are committing EVIL.
Thats where it began, and that is why it remains.