God’s all about love and wants a people capable of love and loving him. We cannot love without the choice to hate. Love has to be totally voluntary of it’s not love. God could have prevented evil by creating us as robots without the ability to chose evil - but God doesn’t want robots, he wants a people who can love.
Why did God make men?