I form the light, and create darkness: I make peace, and create evil: I the Lord do all these things. KJV
I form light and create darkness, I make well-being and create calamity, I am the Lord, who does all these things. ESV
It has been put forth that God is the creator of evil, or that He creates evil based on this verse. Now, I do not believe that this passage is speaking of moral evil, but putting that aside I would like to ask, how would one create "moral evil" or even darkness for that matter.
It is my view that both evil and darkness are the absence of something, not a thing in and of themselves. Evil is the absence of goodness and darkness is the absence of light. When we make a room dark, we do not actually add darkness, we remove light. We turn off the lights, we do not flip a switch and turn on the darkness. There is no such thing as a "flashdark".
So, how is darkness created?
Evil is the same, when we speak of evil it is always measured by how far it is from our view of "good. In the grand scheme of things God is pure goodness and anything moved away from His level has a taint of evil to it. But God cannot create that evil, for him to do so, even if such a thing were possible, would mean that God had the capacity for evil. The God of our Bible has no such capacity.