But it seems like a bit of a cop-out to then blame humanity for what is in essence a design flaw on God's part. Theists argue that God in His divine wisdom granted us humans free will, and it's we humans who through our prideful exercise thereof who are to blame for all of the world's sin and debauchery, not God.
But this would be like Google creating an AI that chose to destroy humanity, and then having the head of Google place the blame for that destruction on the AI instead of on the people who designed the AI. At least the head of Google would have ignorance as an excuse, God can claim no such defense.
Are you suggesting that when it comes to designing an intelligent being God can do no better than Google? (Although the jury is still out on Google's efforts)
How is that a design flaw? What do you think God is doing?
But FWIW, I don't believe in the kind of "Freewill" that most people think they mean by it.
Absolutely EVERY thing that comes to pass, does so by causation, either directly or indirectly, from First Cause. That gives nobody an excuse to do what they shouldn't. They have a conscience, and they do choose, just as God determined that they would from the beginning. Now if you want to look at it from God's perspective, then justice has to be done to them, or to a substitute. We don't operate on his level. Sin is not a creation. Its a 'privation of good'.
But if you want to talk about hard things, yes, God caused all that too, some of it by the sins, the wrong choices, of his creatures.
Google doesn't compare to God. Sorry. He has the right of ownership
and of the source of all fact, including existence, to do as he pleases with his creation. But what we see is the least of it; our notion of reality is a vapor compared to the solid reality of "God's economy". This is like a play, but when the Author walks out onto the stage, the play is over.