It may help to understand human affairs to be clear that most of the great triumphs and tragedies of history are caused, not by people being fundamentally good or fundamentally bad, but by people being fundamentally people.
It is said that the Devil has all the best tunes. This is broadly true. But Heaven has the best choreographers.
God does not play dice with the universe; He plays an ineffable game of His own devising, which might be compared, from the perspective of any of the other players [ie., everybody.], to being involved in an obscure and complex version of poker in a pitch-dark room, with blank cards, for infinite stakes, with a Dealer who won’t tell you the rules, and who smiles all the time.