God created the knowledge of good and evil, but not evil.
The word "evil" as it is translated in Isaiah 45:7 is not evil as I refer to here. In the Hebrew (ra) it is best understood as
trouble, adversity, misery, sorrow but not evil as in satanic evil.
In the garden, there was no "opposite" to the good God created there, and that was perfection. It was when Satan entered...and we all know what happened then.