In order for universe to exist there has to be a God that created it. The one that knows all and all follows its laws. God is the only one that knows the initial condition to all things in universe therefore he knows the outcome of all things in universe