When the Bible talks about "evil" (Hebrew ra/ra'ah), it's not talking about only the demonic or the "ultimate evil" that we often think of. It doesn't always mean "wicked", just like "good" doesn't always mean "righteous". It means really unpleasant, harmful, painful, etc. Evil in this sense is a relative concept. If you punch someone in the nose, you're doing them evil. If they didn't deserve it, then it's also wicked. If you stopped them from hurting someone else, you did something good and righteous, even while you did them evil.

One of the more subtle lies of modern Churchianity is that God never does evil (i.e. harm) to anyone, that only Satan does that. Nonsense. God kills, destroys, sends disease, and condemns. Those are all really unpleasant (and therefore "evil") to someone, and they're also perfectly good and righteous.