God has the knowledge of all things and He is able through His wisdom to work all things out so that they always ultimately turn out for His glory and our godliness. One man said the biggest miracle was not that God could heal or stop the sun, but that God can take all the decisions of all the people over all of time (8.1 billion people on the earth currently) and make it all turn out like He wants it to. Now that’s a miracle. It will turn out just like He said it would, go read the last page of the Bible, it will happen. It has happened and is happening. Oh how great He is. Amen!!!
Romans 11:33 Oh, the depth of the riches both of the wisdom and knowledge of God! How unsearchable are His judgments and unfathomable His ways!