If God creates beings with wills, they will either be such that they CANNOT will other than what God will, or they CAN.
If they CAN, then that JUST IS evil. No possibility of evil, no freedom.
If you think it makes no difference that you are a robot or puppet, I’m not sure I can help you.
Since freedom is good, then the PoE is required for greater good.
So God is responsible for the POSSIBILITY OF EVIL, which is FREEDOM, which is GOOD, but not for any EVIL.
God cannot actually do anything wrong.
Because to do wrong is to will imperfectly, or to will at variance with God’s will, neither of which God does or can do.