The Reward of Those who desire this World and Those who desire the Hereafter
Allah tells us that not everyone who desires this world and its luxuries gets what he wants. That is attained by those whom Allah wants to have it, and they get what He wills that they should get. This Ayah narrows down the general statements made in other Ayat. Allah says:
عَجَّلْنَا لَهُ فِيهَا مَا نَشَآءُ لِمَن نُّرِيدُ ثُمَّ جَعَلْنَا لَهُ جَهَنَّمَ
(We readily grant him what We will for whom We like. Then, afterwards, We have appointed for him Hell) meaning, in the Hereafter,
يَصْلَـهَآ
(he will burn therein) means, he will enter it until it covers him on all sides,
مَذْمُومًا
(disgraced) means, blamed for his bad behaviour and evil deeds, because he chose the transient over the eternal,
مَّدْحُورًا
(rejected.) means, far away (from Allah's mercy), humiliated and put to shame.
وَمَنْ أَرَادَ الاٌّخِرَةَ
(And whoever desires the Hereafter) wanting the Hereafter and its blessings and delights,
وَسَعَى لَهَا سَعْيَهَا
(and strives for it, with the necessary effort due for it) seeking it in the right way, which is following the Messenger .
وَهُوَ مُؤْمِنٌ
(while he is a believer,) means, his heart has faith, i.e., he believes in the reward and punishment,
فَأُولَـئِكَ كَانَ سَعْيُهُم مَّشْكُورًا
(then such are the ones whose striving shall be appreciated, (rewarded by Allah).)
Ma'arif al-Qur'an
Mufti Muhammad Shafi
Commentary
Two behavior models of human beings appear in the cited verses side by side. As for those who elect to go for the readily available benefits out of their life in this world, and the punishment that comes in its wake, the words used were: مَّن كَانَ يُرِيدُ الْعَاجِلَةَ (Whoever opts for the immediate life herein - 18). These words signify continuity and permanence meaning that this punishment of Hell will materialize only when one's actions are all the time motivated by material interests only, having practically no concern for the Hereafter. And as for 'those who desire to have the Here-after and its rewards,' the words used were: أَرَادَ الْآخِرَةَ ۔ The sense is that as soon as a true believer were to form an intention to have the reward of the Hereafter in whatever he proposes to do, that deed of his shall stand accepted - irrespective of any corruptive element having entered into something else he was intending to do.
The first condition can only be that of a denier of the Hereafter, therefore, none of his deeds is acceptable. Then, the second condition is that of a true believer. A particular deed by him that issues forth with sincerity of intention, and is for the Hereafter - along with the presence of other conditions - shall be acceptable. And a deed even from the same person, a deed that has no sincerity, or where other conditions are missing, will not be acceptable.
The conduct of the leading group of a community is the chief indicator of the level of honesty or corruption of the community’s members. Only this group has the understanding and resources to influence their inferiors. Only they can bear the cost of leadership. This is why the reformation of the prominent group amounts to the reformation of the whole community and the corruption of this prominent group amounts to the corruption of the whole community. If a study is made of communities right from the time of Noah to the present day, the history of each community will confirm the correctness of this general principle. Those leading lights, or elders of the community, who exploit the people to establish their leadership, teach the community emotionalism instead of realism; they teach the community to live in wishful thinking, instead of admitting the truth. In short, instead of making the community attentive to God, they turn it away from God by making it attend to worldly concerns. By thus misleading the community, they bring about its destruction. When leaders of this kind dominate a community, it is to be expected that God has taken a decision to destroy it. Every event of this type happens by God’s will, for no deed or misdeed of any person or community is hidden from Him.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.