If we wish to analyze matters more logically...
If we wish to analyze matters more logically, we must look further, beyond this world. There is also the consideration that no authority in this world has the power to restore to men all the rights which have been violated. Similarly, the world does not have the capacity to reward virtue in a fitting and complete manner.
When we attempt to assess the value of the unrelenting efforts that the pure and the virtuous expend in this world, which is full of trouble and pain, we realize that the rewards available here are very slight. What reward commensurate with the value of his efforts can be given in this world to one who has benefited millions of people with his treasury of knowledge and learning or sincere and devoted service?
How and where in this world will one be rewarded who devotes all his life to the worship of God and the support of His servants, whose services extend in manifold ways to whole societies, and who ultimately gives up his life for the sake of divine goals? No life remains for him in this world to enable him to reap the fruits of his devotion and self-sacrifice. The temporal limitation imposed on life in this world does not even permit the pious to receive their reward. The Qur'an says.
“Shall We make those who believe in God and do good deeds like those who work corruption on earth? Shall We requite pious and God fearing men like the sinful and the doers of evil? Do those who have committed foul and sinful deeds imagine that We will grant them a rank like that of those who believe in God and do good works, so that they wilt be alike in death and in life? Theirs is a false and ignorant notion.
God has created the heavens and the earth in justice, and ultimately every soul shall receive the requital for its deeds, without any injustice” (45:21-22). From the day that he first steps into this abode of dust until the moment the earth draws him into its embrace, man has to struggle with hardships, difficulties, problems and misfortunes.
The Commander of the Faithful, `Ali, peace be upon him, depicts this transient, pain-filled world as follows: “The world is a dwelling the inhabitants of which are overcome by sorrow and pain. It is a world well-known for its deceit and trickery and lacking in all stability. Those who enter this dwelling will never enjoy safety or tranquillity. Its circumstances are constantly changing, and its pleasures are reprehensible and blameworthy. Repose and tranquillity are nowhere to be found in it.