Back to Feed
Religion

Quran on Comparing Yourself: Verses on Envy, Boasting, and Contentment

Azan0300
Sohaib nasir
16 min read Aug 25, 2026 269
Quran on Comparing Yourself: Verses on Envy, Boasting, and Contentment

Stop Comparing Yourself: What the Quran Really Says About Boasting, Envy, and Being Enough

Introduction

Sohaib still remembers the exact second it happened. He was sitting in the mosque parking lot, engine off, phone in hand, when a notification lit up his screen. An old classmate had just posted a photo outside a house with a red door and a long driveway, captioned Alhamdulillah for this new chapter. Sohaib looked up through his windshield at his own car, seven years old, one headlight slightly dimmer than the other, and felt something drop in his stomach that he did not have a name for yet.

He did not hate his classmate. That was the strange part. He genuinely wished him well. But something in him kept doing quiet math it had no business doing, comparing salaries he did not actually know, houses he had never stepped inside, a life he had only seen through a nine second video. By the time he walked into the mosque for Isha that night, his mind was somewhere else entirely, running numbers, running comparisons, running a race no one had actually asked him to enter.

It took Sohaib a long time to notice the pattern. It was never really about the house. It was about a quiet, constant scoreboard he had built in his own head, one that never once asked whether he had prayed on time that day, or called his mother, or forgiven someone who owed him an apology. This article follows the path Sohaib eventually walked, out of that parking lot feeling and into a completely different way of measuring a life, one the Quran had already mapped out centuries before smartphones existed.

The Hidden Problem Behind the Scroll

Sohaib's story is not unusual. Most people who struggle with comparison are not struggling with actual want. Their fridge is full. Their bills, mostly, get paid. What they are struggling with is a mental habit, a reflex that measures a full life against someone else's edited highlight reel and somehow still comes up short.

This reflex has a name in modern psychology, social comparison, and it existed long before social media. What changed is the sheer volume of comparisons a single mind now processes in a day. A person two hundred years ago compared their harvest to their neighbor's harvest, maybe twice a season. A person today can compare their entire life to dozens of curated strangers before they have finished their morning coffee.

Why Modern Life Makes This Worse

Three things make comparison heavier now than it has ever been in human history. First is volume, the sheer number of lives on display at once. Second is distortion, since almost nothing posted online shows the full picture, the debt, the argument, the doubt, the ordinary Tuesday. Third is permanence, because the comparison does not end when you close the app. The images linger, resurface in idle moments, and quietly recalibrate what a person believes they are supposed to have by now.

None of this is presented here as settled scientific fact carved in stone. Researchers studying social comparison generally find a correlation between heavy social media use and lower life satisfaction, but correlation is not the same as a guaranteed cause for every individual. What can be said more confidently is that a mind constantly fed curated success, without context, tends to develop an unrealistic yardstick. That much is a reasonable, well supported observation, not a religious claim, and it is worth holding it exactly at that weight.

The Quranic Perspective Enters Here

This is exactly the point where the Quran does something remarkable. It does not simply tell a person to feel grateful and move on. It explains the actual architecture behind why people end up with different provisions in the first place, and then it separately addresses the emotional trap that grows out of noticing those differences.

Why People Are Placed at Different Levels

اَهُمۡ يَقۡسِمُوۡنَ رَحۡمَتَ رَبِّكَؕ نَحۡنُ قَسَمۡنَا بَيۡنَهُمۡ مَّعِيۡشَتَهُمۡ فِى الۡحَيٰوةِ الدُّنۡيَا وَرَفَعۡنَا بَعۡضَهُمۡ فَوۡقَ بَعۡضٍ دَرَجٰتٍ لِّيَتَّخِذَ بَعۡضُهُمۡ بَعۡضًا سُخۡرِيًّا ؕ وَرَحۡمَتُ رَبِّكَ خَيۡرٌ مِّمَّا يَجۡمَعُوۡنَ

کیا یہ لوگ تمہارے رب کی رحمت تقسیم کرتے ہیں؟ ہم نے ہی ان کے درمیان دنیا کی زندگی میں ان کی روزی تقسیم کی ہے اور بعض کو بعض پر درجوں میں بلند کیا ہے تاکہ ایک دوسرے سے خدمت لیں۔ اور تمہارے رب کی رحمت اس سے کہیں بہتر ہے جو یہ لوگ جمع کرتے ہیں۔

Do they distribute the mercy of your Lord? It is We who have apportioned among them their livelihood in the life of this world and have raised some of them above others in degrees of rank that they may make use of one another for service. But the mercy of your Lord is better than whatever they accumulate. Surah Az-Zukhruf, Chapter 43, Verse 32

This is not a small side comment. It is a direct answer to the question every comparing mind eventually asks, why does that person have more than me. The verse says plainly that this distribution is intentional, and it is intentional for a reason connected to other people, so that people would need and serve one another. A doctor needs a farmer. A farmer needs a builder. Nobody's stack of blessings was ever meant to be a private trophy or a public scoreboard, it was meant to be part of a system where people rely on each other.

The Behavior Named Directly

اِعۡلَمُوۡۤا اَنَّمَا الۡحَيٰوةُ الدُّنۡيَا لَعِبٌ وَّلَهۡوٌ وَّزِيۡنَةٌ وَّتَفَاخُرٌۢ بَيۡنَكُمۡ وَتَكَاثُرٌ فِى الۡاَمۡوَالِ وَالۡاَوۡلَادِ ؕ كَمَثَلِ غَيۡثٍ اَعۡجَبَ الۡكُفَّارَ نَبَاتُهٗ ثُمَّ يَهِيۡجُ فَتَرٰٮهُ مُصۡفَرًّا ثُمَّ يَكُوۡنُ حُطَامًا

جان لو کہ دنیا کی زندگی محض کھیل اور تماشا اور زینت اور آپس میں ایک دوسرے پر فخر کرنا اور مال و اولاد میں ایک دوسرے سے بڑھنے کی کوشش ہے، جیسے بارش کی مثال ہے جس کی پیداوار سے کسان خوش ہو جاتے ہیں، پھر وہ خشک ہو جاتی ہے تو تم اسے زرد دیکھتے ہو، پھر وہ چورا چورا ہو جاتی ہے۔

Know that the life of this world is but amusement and diversion and adornment and boasting to one another and competition in increase of wealth and children, like the example of a rain whose resulting plant growth pleases the tillers, then it dries and you see it turned yellow, then it becomes scattered debris. Surah Al-Hadid, Chapter 57, Verse 20

The word used here, tafakhur, means mutual boasting, and takathur means competing to accumulate more. This is arguably the most precise Quranic naming of what a comparison-driven feed actually is, a running contest of tafakhur and takathur, dressed up as friendly updates. The verse does not stop at naming the behavior. It follows immediately with an image, rain that produces green, admired growth, which then dries, yellows, and crumbles. Whatever is being compared this week will not look the same in a year. That is not a guess, it is the pattern the verse points to directly.

The Emotional Instruction

لِّكَيۡلَا تَاۡسَوۡا عَلٰى مَا فَاتَكُمۡ وَلَا تَفۡرَحُوۡا بِمَاۤ اٰتٰٮكُمۡ ؕ وَاللّٰهُ لَا يُحِبُّ كُلَّ مُخۡتَالٍ فَخُوۡرِۨ

تاکہ جو چیز تم سے فوت ہو جائے اس پر تم غمگین نہ ہو اور جو چیز وہ تمہیں دے اس پر اِترانے نہ لگو۔ اور اللہ کسی اترانے والے، فخر کرنے والے کو پسند نہیں کرتا۔

In order that you not despair over what has eluded you and not exult in pride over what He has given you. And Allah does not like everyone self-deluded and boastful. Surah Al-Hadid, Chapter 57, Verse 23

This verse works on two directions at once, and both matter for comparison specifically. It addresses the person who feels behind, telling them not to spiral into despair over what has eluded them, and it addresses the person who feels ahead, warning against a smug exultation over what they have been given. Comparison usually makes people feel one of these two things, either quietly defeated or quietly superior. This verse rejects both reactions as unworthy of a settled heart.

The Other Side, Being Envied

وَمِنۡ شَرِّ حَاسِدٍ اِذَا حَسَدَ

اور حسد کرنے والے کے شر سے جب وہ حسد کرے۔

And from the evil of an envier when he envies. Surah Al-Falaq, Chapter 113, Verse 5

This verse is usually taught in the context of protection from harm, but it belongs here for a specific reason. Comparison is not a one-way street. A person who works hard, gets promoted, or simply has a peaceful life can end up on the receiving end of someone else's hasad, envy that wishes a blessing removed rather than shared. This ayah teaches a believer to seek Allah's protection from that harm rather than shrinking their own life to avoid being envied, which is itself a quiet, damaging trap many people fall into without realizing it.

Understanding Hasad and Where the Heart Goes Wrong

Scholars draw an important line between admiration and hasad. Wanting something similar to what someone else has, without wishing them to lose it, is not the sin being condemned here. Hasad specifically is the wish that a blessing disappear from another person, whether or not the envier ever benefits from it themselves. The Quran, across these verses, is not asking a person to stop noticing that others have things. It is asking them to notice, understand the reasoning of Az-Zukhruf 43:32, absorb the honest picture of Al-Hadid 57:20, apply the balance of Al-Hadid 57:23, and ask for protection using Al-Falaq 113:5.

Tafsir and Context, Kept Separate From the Ayat Themselves

Az-Zukhruf 43:32 was revealed addressing those who questioned why prophethood or worldly favor was not given equally to everyone by their own preference. Classical commentary, including that of Ibn Kathir, explains this verse as Allah clarifying that livelihood in this world is distributed by divine wisdom, not by human merit alone, and that the differences in rank exist so that people are pushed toward mutual cooperation and service rather than isolated self-sufficiency.

Al-Hadid 57:20 comes in a passage encouraging believers toward charity and steadfastness during a period of real hardship for the early Muslim community. Commentators such as Ibn Kathir and Abul Ala Maududi read this verse as a sobering description of the natural life cycle of worldly pursuits, not a condemnation of ambition itself, but a reminder that whatever is being chased in this life follows the same short arc as a green field that eventually turns to dry straw.

Al-Hadid 57:23 follows shortly after, and classical tafsir places it directly in the context of hardship faced by early believers, teaching a specific emotional discipline, neither collapsing in grief over loss nor swelling with pride over gain, because both reactions come from measuring life by what is visible and temporary rather than by what is lasting.

Al-Falaq 113:5, part of one of the two protective surahs known as the Muawwidhatayn, was revealed as a short prayer for refuge from several categories of harm, concluding with the harm of envy specifically. Tafsir explanations, including Maududi's, describe hasad as wishing a blessing removed from someone else, and the verse as guidance to respond to that danger with patience, dignity, and reliance on Allah rather than retaliation or self-shrinking.

None of this tafsir explanation is itself the Quran. It is scholarly understanding built around the actual ayat quoted above, kept clearly separate from the verses themselves.

Where AI Belongs in This Picture, and Where It Does Not

None of this transformation happens because of an app. Allah's guidance comes first, through the Quran, then a person's own understanding and effort, then action. AI sits only at the very end of that chain, as a tool that can make consistent small habits easier to keep, nothing more.

Used honestly, AI can help someone track how many minutes a day they actually spend on the specific account or app that triggers their comparison spiral, since most people badly underestimate this number until they see it in writing. It can generate a short, specific gratitude prompt each night so a person is not staring at a blank page. It can summarize a tafsir passage in plain language to save time on a busy evening. It can set a reminder for dua instead of a reminder to check a feed. What it cannot do is replace the actual moment of turning to Allah, the actual sincerity of a dua said from the heart, or the discipline of choosing gratitude over resentment in a hard moment. Anyone marketing AI as a spiritual shortcut is overselling it.

A Seven Day Practical Action Plan.

Day One. Read Az-Zukhruf 43:32 slowly. Write down one specific way your life currently depends on someone else's skill or effort, a doctor, a farmer, a teacher, a neighbor. Let the takeaway be that differences in provision were built for cooperation, not competition.

Day Two. Read Al-Hadid 57:20. Before opening any social app today, say the words tafakhur and takathur to yourself and notice what you actually see once you open it. Let the takeaway be that most of what is on display is a field that has not yet turned yellow.

Day Three. Read Al-Hadid 57:23. Identify one thing you have quietly grieved not having, and one thing you have quietly been proud of having. Sit with both in the same breath. Let the takeaway be that a settled heart holds neither too tightly.

Day Four. Read Al-Falaq 113:5. Recite it once with the meaning in mind, whether for protection from someone else's envy or as a reminder of how corrosive your own envy can be. Let the takeaway be that seeking refuge is an act of strength, not weakness.

Day Five. Choose one person whose blessing you have quietly compared yourself to. Make a specific, sincere dua for them by name, then make a separate dua asking Allah to increase you from His own bounty, echoing the spirit of Az-Zukhruf 43:32.

Day Six. Track, honestly, how much time you spent today on the platform or account that triggers your comparison the most. Do not change anything yet, simply write the number down and notice your reaction to seeing it.

Day Seven. Reread all four verses together. Write a short, personal reflection on which one landed hardest for you this week, and why. Let this be the beginning of a habit you return to, not a task you close and forget.

AI Assisted Practical Tools and Exercises

Ask an AI assistant to explain Al-Hadid 57:20 in simple, everyday language, drawing on respected tafsir, so the concepts of tafakhur and takathur are easy to recognize in your own daily scrolling.

Use a screen time tracking tool to log exactly how many minutes you spend on your highest-comparison app each day this week, and review the total honestly on day seven.

Ask AI to generate three specific, non-generic gratitude prompts each evening based on details from your actual day, rather than staring at a blank journal page.

Set an AI-powered reminder at a fixed time each evening for dua or reflection, replacing a habitual scroll-check with a moment of remembrance.

Ask AI to help you rewrite one envious or defeated thought into an honest, grateful sentence, the same way a trusted friend might talk you through a hard moment, understanding this is a writing exercise, not a substitute for sincere dua.

Spiritual Transformation

The goal here was never simply to manage a bad feeling until it passes. Sohaib did not stop noticing other people's blessings after that night in the parking lot, and he was not expected to. What changed was the question running underneath the noticing. Instead of asking why do they have that and I don't, he slowly learned to ask what is my role in this system Allah built, the one described in Az-Zukhruf 43:32, where every person's provision connects to someone else's need.

He learned to recognize tafakhur the moment he felt it rising, to name it the way Al-Hadid 57:20 names it, and to remember that whatever he was looking at would eventually turn the same shade of yellow as everything else in this life. He practiced holding both grief and pride a little more loosely, the balance taught in Al-Hadid 57:23. And on the nights when comparison turned bitter enough that he could feel it curdling into something closer to resentment, he returned to the short, honest prayer of Al-Falaq 113:5, asking to be protected from that harm, both the harm others might wish on him and the harm his own heart could do to itself.

This is what spiritual growth actually looks like here, not the disappearance of a feeling, but a completely different relationship with it. The scoreboard in Sohaib's head did not vanish overnight. It simply stopped being the only voice in the room.

A Practical Checklist.

Notice the specific person or moment that triggers your comparison the most.

Recognize tafakhur and takathur when you feel them, by name, before reacting.

Hold both loss and gain lightly, neither despairing nor swelling with pride.

Recite the prayer of protection from envy when your own heart or someone else's feels heavy with it.

Track your screen time honestly on the app that triggers comparison the most.

Use AI as scaffolding for good habits, never as a replacement for genuine worship or real human connection.

If comparison starts affecting your sleep, appetite, or daily functioning, talk to someone, a trusted friend, an imam, or a licensed therapist.

Frequently Asked Questions

Is wanting a house or a life similar to someone else's a sin?

No. Wanting good things for yourself is not condemned in these verses. What is addressed is tafakhur, boastful comparison, and hasad, wishing someone else's blessing removed. Wanting similar provision while still being happy for the other person falls outside both of these categories.

Why does the Quran say people are given different amounts of provision?

Surah Az-Zukhruf 43:32 explains that differences in rank and provision exist so that people rely on and serve one another, not as a measure of who is more valued by Allah.

Can AI actually help someone stop comparing themselves to others?

AI can support structure, reminders, and honest tracking of habits like screen time, which often makes the problem visible in a way it was not before. It cannot replace sincere dua, real worship, or a genuine change of heart.

What if someone else seems to be envious of me?

Surah Al-Falaq 113:5 specifically addresses this, teaching a short prayer for protection from the harm of an envier, rather than instructing a person to shrink their own blessings out of fear of being envied.

Closing Thoughts

Sohaib still drives that same car with the uneven headlights. He still sees his old classmate's posts sometimes. But the drop in his stomach does not last the way it used to, because he is no longer running a race nobody actually invited him into. He is running his own, measured by prayers made on time, by mercy shown to people who did not deserve it yet received it anyway, by a heart that asks Allah for its own share instead of quietly resenting someone else's.

If you have ever sat in your own version of that parking lot, phone in hand, comparing a life you are living to a version of someone else's you only glimpsed for nine seconds, know this. The Quran did not leave you without an answer. It told you why the differences exist, named the exact behavior driving your discomfort, gave you the emotional balance to hold both loss and gain lightly, and handed you a short prayer for protection when envy, yours or someone else's, gets too loud. Pick one verse from this article tonight. Say it slowly. Let it be the first small stone in a completely different foundation.

Suggested Internal Links

Understanding Rizq, What the Quran Says About Provision

How Tafakhur and Takathur Show Up in Daily Life

Using AI for Better Habits Without Losing Mindfulness

Suggested External Authoritative Sources.

Quran.com, for verified Arabic text, translations, and tafsir

Sunnah.com, for authenticated hadith collections

American Psychological Association, for research on social comparison and social media use.


Share this article

Pass along these insights with your network and friends.