Imagine you are an omnipotent Creator determined to restore a world that is in rebellion against you and headed for hell. What would you do?
A flood, that would do it. Or, better, a huge fire. Wipe it out and start over. That would do it.
Would you pick out a single obscure sheik, send his descendants into slavery and then bring them out, give them a land and eventually kings, and then send them out of the land again? Would you deliver a set of laws, rituals, and institutions, demand that they organize their national life accordingly, and then change the rules a millennium and a half later? Would you eventually come in person to live under those institutions and to be killed for doing so?
How does that deal with sin, evil, injustice?