He is omniscient, and didn’t choose to create robots. See Persevero response - it’s a good one.
You’ll find it’s really all about trust....trusting the most (and only) trustable One in the universe. When we decide our plan would have been better, we make of ourselves a god. That god is too small & insufficient.
So if God is omniscient, and God cannot be wrong...how can something He knows will happen, not happen?