If Man has a Free Will, how is God All-Powerful?

Another question that I am often asked is “If God cannot control man’s action, then how is He All-Powerful”? There is no doubt that God is All-Powerful. However, since He has decided to put man to the test, He has given man a freedom of choice to do what he likes. As if there was no free will, there would be no test. So, in order to test man, God has withheld His power when it comes to man and given him freedom to respond in any way that he wants. God, is however is maintaining a record of all of man’s thoughts, speech and deeds and will hold him accountable for them on the Day of Judgment, on which day, all of mankind will see the power of God.