The allowance of evil is perfectly under the sovereignty of a Good God.
Why? What? The Origin of Evil is still unknown. But, it’s defined on the basis of the existence of Good. Darkness doesn’t have an identity of its own, it’s the absence of LIGHT.
If good doesn’t exist, then evil cannot be termed or defined. It caught over an angelic being. It down to mankind (made in the image of God) causing a fall, that could be revoked only through the death and resurrection of God Himself (Jesus Christ).
Joseph told His Brother: “You meant it for evil, but GOD meant it for Good”. That evil act of the brothers was permitted by God, but their intensions didn’t prevail, only His Goodness did.
“And we know that God causes EVERYTHING to work together for the good of those who love God and are called according to his purpose for them.” Romans 8:28 NLT
All the evil thrown down at us, that comes out of us and that’s around us, under the perfect rule of a Sovereign God is going to be worked out for Our Good.
A beautiful teaching by one of the dedicated theologians of our time: R. C. Sproul.