If God created everything, then He must have created evil, right?  Wrong.  Evil is, as St. Augustine put it, privatio boni, or the absence of good. Evil

An example of privatio or privation is a shadow.  You can have light without shadows but you cannot have shadows without light, as shadow or darkness is the privation or absence of light.  Similarly, as Christian apologist, author, and talk-show host Frank Turek illustrates, “If you take all of the rust out of a car, you have a better car; if you take the car out of the rust, you have nothing.”

God did not create evil, but He allows evil to permit his free creatures to come to Him on their own free will; or not.