YHVH (The Eternal Creator) didn't directly create evil. YHVH made the understanding of Righteousness (good) available, as "The knowledge of Good and evil". Think on this: How can YHVH create GOOD without defining what GOOD is, and by the process of elimination not create evil too? Obviously evil is everything that GOOD is not.
It is impossible to define Good without, also, defining evil. Therefore, YHVH created GOOD, and thus evil was a by-product of that process. However, it is possible for GOOD to completely exist without the presence of evil, and this will be the case during The Sabbath Millennium (The Coming Kingdom of YHVH on Earth).
Blessings,
DJ Love, minister, Shamar Briyth Congregations