But it is obvious that even in these cases...
But it is obvious that even in these cases, there is no chance for acting after death. Therefore, this life is very valuable. According to Islamic traditions, one of the first questions on the day of the resurrection is about the life, as another question is about youth. It shows the special importance of this period of life.
To see a clear picture of the Islamic attitude towards life, it's nice to consider this prayer of the fourth Imam (a.s.): “And Let me live as long as my life is a free gift in obeying You, but if my life should become a pasture for Satan, seize me to Yourself before Your hatred overtakes me or Your wrath against me becomes firm!” And to get a clear picture of the ordinary attitude towards life, one may consider this verse of the Glorious Qur'an: 'That this world's life is only play and amusement and adornment and boasting among yourselves, and a rivalry in the multiplication of wealth and children, like the rain, whose causing the vegetation to grow, pleases the husband men then it withers away so that you will see it become yellow, then it becomes dried up and broken down; and in the hereafter is a severe chastisement and (also) forgiveness from Allah and (His) pleasure; and this world's life is naught but means of deception.” Without faith, this life can be divided into five parts.
Some scholars consider these five parts in a chronological order, so they are five succeeding phases. During the childhood the main activity is playing 'la'ib'. Then it is the turn of 'lahw', including all the activities a person does just to enjoy himself in his free time or, in other words, just to make himself busy, like listening to music or watching movies or solving puzzles or collecting things or reading novels without any purpose or aim.
Then when a person becomes young and ready for marriage, he or she takes care of his or her body and hair and generally his or her beauty. He or she spends much time in front of mirrors or in the barber shops or in the cloth-shops. This is the period of adornment, 'zfrzah'. Then when he or she becomes graduated and finds a job and gets married, starts to exalt himself or herself over others and to be proud of himself or herself. This is the period of 'tafdkhur'.
And finally after trying his best and working for many years he or she thinks about the results of his or her life: children, money, property and fame. He wishes to be the best. This is the period of 'takdthur'.