Iriddle80: God had to do certain things
I don't see where god "had to" do anything. He is free to act and no one can challenge him. When some of his questionable actions are mentioned, we are reminded that god is not on the same moral plane as humanity is. He is good, his essential nature is good, his every action and decision are good. There is an endless set of options for how he could proceed at any time.
If the world is in this condition, it is entirely god's fault. Or, it is exactly as he wishes for it to be.