Douay-Rheims Bible puts it “I form the light, and create darkness, I make peace, and create evil: I the Lord that do all these things.” (Isaiah 45:7)
The context of this verse is all about God rewarding Israel for obedience and punishing Israel for disobedience. And verse following (Isaiah 45:9) says: “Woe to him who quarrels with his Master” (Isaiah 45:9). In other words, it reaffirms the same truth history, all stories and all our experiences highlight that any action (productive or wasteful) will have its corresponding consequence. If you say it is God who is behind this mechanism, it is right; and if you say it is not God who is behind the mechanism, that’s also right because God is the Author of the universe and all its laws.
The problem is that Bible writers are not careful. Instead of using the words “I create evil” they could also use the words “I will cause disaster to come upon you for disobedience.” Often, the main purpose of the religious writers is not to bring clarity, but to confusion. Same is with the writer of sermon on the mount. Verses such as ‘Consider the lilies of the field, how they grow. They don't toil, neither do they spin’’ give the impression that we do not have to work because we would be provided by God just like the birds are provided for by God. Writer could have written what he really meant, but he won’t. writers want their readers to draw all sorts of conflicted interpretations—which is opposite of the very purpose of communication. This is the reason why some say Scriptures are not the means of God’s communication.