When you want what someone else was given
An instruction about wishing, followed by what to do instead.
وَلَا تَتَمَنَّوْا۟ مَا فَضَّلَ ٱللَّهُ بِهِۦ بَعْضَكُمْ عَلَىٰ بَعْضٍ ۚ لِّلرِّجَالِ نَصِيبٌ مِّمَّا ٱكْتَسَبُوا۟ ۖ وَلِلنِّسَآءِ نَصِيبٌ مِّمَّا ٱكْتَسَبْنَ ۚ وَسْـَٔلُوا۟ ٱللَّهَ مِن فَضْلِهِۦٓ ۗ إِنَّ ٱللَّهَ كَانَ بِكُلِّ شَىْءٍ عَلِيمًا
Wa lā tatamannaw mā faḍḍala-llāhu bihi baʿḍakum ʿalā baʿḍ… wa-s'alu-llāha min faḍlih.
“And do not wish for that by which Allāh has made some of you exceed others. For men is a share of what they have earned, and for women is a share of1 what they have earned. And ask Allāh of His bounty. Indeed Allāh is ever, of all things, Knowing.”
It does not tell you to stop wanting. It tells you to take the wanting to the right place.
Source
The Qur'an · 4:32
Qur'an
- Qur'anic text in the Uthmani script via Quran.com; translation: Saheeh International