According to quantum theory, the world is random, so history cannot determine the future, but random numbers determine the future. But this view has two doubts:
1 quantum theory has not been unanimously recognized. Quantum theory is only a generally accepted view, but it is not necessarily correct.
Randomness in quantum theory may only be caused by reasons that humans don't understand. God can't roll the dice, but man can.