I mean, the guy is all knowing. That means he knew, back when he created Adam, that this moment would come. He could have changed 1000 things. Yet he chose this particular order of things leading to the ‘sacrifice’ of Jesus.
There’s just so many plot holes when you make a fella omniscient.