We have shown the path to man...
We have shown the path to man, and he is free to choose the right path and be thankful or to choose the path of ingratitude. (76:3) Whoever wishes for the eternal abode and strives for it as needed will find his efforts rewarded. (17:19) Those who on the Day of Judgment seek refuge in determinism and say: If God wished, we would not worship other than Him (16:35) are rebuked for attributing their own sinfulness and error to divine will and fate.
In none of the verses of the Qur’an are the corrupt and evil deeds of individuals or societies attributed to fate and destiny. Equally, fate and destiny are not depicted as obstacles to a corrupt and polluted society's reforming itself. Not a single verse can be found in which God's will has supplanted man's will, or in which it is said that men started to suffer because of fate and destiny.
The Qur’an repeatedly mentions the wrath of God that will overtake the tyrannical and corrupt, bringing painful punishment in its wake. Since God is extremely loving and merciful to His servants, having bestowed countless bounties on them, and is, at the same time, clement and ready to accept repentance, He always keeps open for the sinner the path of return to purity and rectitude. God's acceptance of repentance is, in itself, a great instance of His mercy.
Although the scope of man's will is greater and more extensive than that of all other known living creatures and plays a more creative role, his will has effect only in areas delimited for his activity and deeds by God. He cannot, therefore, accomplish everything he wants throughout his life. It often happens that man decides to do something but however hard he tries, he is unable to accomplish it.
The reason for this is not that God's will opposes itself to man's will and prevents him from doing what he wishes. It is rather that in such cases some unknown external factor which lies beyond the scope of man's knowledge and control creates obstacles in his way and prevents him from attaining his goals. Both individuals and societies constantly encounter such obstacles.
Considering the fact that in the natural realm there is no cause without an effect and no effect without a cause, and that our means of perception are limited to this world and to the human realm, it should not be difficult for us to accept that our aspirations may not be fulfilled as we desire. God has set billions of factors to work in the order of being.