there is a classic argument against the existence of God (an omnipotent being who has given men/women Free Will). It argues that if God exists, we cannot have Free Will. It goes like this:
Since God is omnipotent, God should know our future. It follows that we cannot deviate from God's prediction of the future. And so we do not have Free Will.
For example, it might look like you have free will of choosing between omelette and sausage for your breakfast tomorrow. In fact, you do not. If God knows that you will choose omelette for your breakfast tomorrow. You will not choose sausage, choosing sausage will show that God is not omnipotent.
However, our world is indeterministic in nature. Quantum Mechanics show that that each particle state is a superposition of various possible eigenstates. This allows the coexistence of Omnipotency and Free Will.
God knows your state vector and its evolution exactly. God knows what is the probability that you will choose omelette and what is the proability that you will choose sausage. And your action of choosing one of them the next day does not prove God is wrong. It is merely a collapse of your wave-function. You have Free Will. You can make a choice between omelette and sausage. God is omnipotent. God knows everything as far as your breakfast is concerned.