Peace be with you, please note the word used carefully that HE 'create' darkness and 'create' evil and not HE 'created' them. HE 'create' them means HE can 'stir' them up to manifest.
In Biblical history, we learn that the seed of evil took root from it's founder satan and his followers the branches from the beginning.itself.
Why?
GOD created everything, even Lucifer and called all of them Good, as they were pleasing to HIS sight.
When one opposes HIS rule, even after knowing HE is the creator of all of them, becomes evil (the opposite of HIM). Then that one can stir up the same evil on and in others who can be influenced easily. HE hoped mankind in their free choice would choose only to listen to HIM but we love a stranger's juicy voice instead.
So when mankind fall into the trap of the deception of evil, HE create evil consequences. Before all of these things take place, HE has reminded in advance to HIS created Good.
Just for a moment think carefully whether what you have confessed makes sense;
'A Loving GOD created evil and later destroys that evil.' (the perfect GOD makes something and then destroys it).
'Is HE then who is just, is just to be called a perfect and righteous GOD?'
GOD has the Power to stop or create (stir) evil and darkness here on earth. That is their very roaring lion nature ready to devour someone, also a thief who only comes to rob, kill and destroy, all that is good in a Good family, even to the restored ones now.
That is why someone who continuously commits wrong against GOD's righteousness, are not punished immediately by the Living GOD but until one destined day HE creates (stirs) the darkness and evil to come and manifest upon such person or such community's lives. They will end up being worst off than before.
Be alert and stay awake, for the LORD's return is like a thief who comes surprisingly during in the midst of darkness..