In other words...
In other words, as a way has been shown for human happiness and as following it requires the granting of a reward, and opposition to it involves punishment, this reward and punishment are presented on the models of this world, so that the laws of this world would not be futile. Moreover, as the prophets were in no position as executives in this world to grant rewards or deal punishment, another world had to be offered where the good would be rewarded, and the wicked punished.
But we come across none of these statements in the Qur'an, where the purpose of creating jinns and human beings is given as 'worship'.[^2] This may seem to us too difficult to understand. Of what use is worship for God? It does not benefit Him. Of what use is it to man? But this point has been explicitly mentioned in the Qur'an as the purpose of Creation.
Contrary to the view that the next life is subsidiary to this one, the Qur'an says that “If there were no Resurrection, Creation would be futile.” And again it says: “Do you suppose that we have created you in vain?”(The Qur'an, 23:115) It is suggestive of something wisely done. Is it assumed that creation is meaningless, and man does not return to God? In the verses of the Qur'an the question of Resurrection occurs repeatedly with the matter of the rightfulness of creation.
Its reasoning is based on the implication that this world has a God, and He does nothing in vain, and all is rightful and not in play, and there is a return to Him who accounts for the whole universe. We never come across this idea in the Qur'an that man is created in order to know more and act more to attain his goal. He is created to worship, and the worship of God is in itself a goal.
If there is no question of knowing God which is the preface to worship, then man has failed in his advance towards the goal of creation, and from the viewpoint of the Qur'an he is not happy. The prophets, too, are sent to guide him towards that happiness which is the worship of God. Thus the goal and ideal that Islam offers is God, and everything else is preparatory to it, and not of an independent and fundamental importance.
In the verses where the Qur'an mentions perfect human beings, or speaks on their behalf, it says they have truly understood the goal of life and endeavored to attain it.