Paul's instruction in Galatians 6:4 cuts through the comparison loop precisely: "But let every man prove his own work, and then shall he have rejoicing in himself alone, and not in another." The word "prove" here is dokimazō — to test, to examine, as a metallurgist tests metal in fire. Paul is not saying be proud of yourself relative to others. He is saying do the hard work of honestly evaluating your own life against your own calling. The metric is different.
Comparison assumes that everyone is running the same race with the same starting position and the same finish line. Scripture doesn't support that assumption. The parable of the talents (Matthew 25) distributes gifts unequally and evaluates each servant on what they did with what they were given, not on who ended up with more. The servant given two talents who doubled them received exactly the same commendation as the servant given five who doubled his. The comparison between them is never even raised.
Envy is the sharpest edge of comparison — not just noticing someone else's situation but resenting it. Proverbs 14:30 calls it "the rottenness of the bones." The ancient writers understood that envy corrupts from the inside. It is not primarily a relational problem; it is a physical metaphor for decay. What you focus on with envy you cannot enjoy with gratitude. The same circumstances look entirely different depending on which direction your eyes are pointing.
Commentary is from a charismatic Protestant perspective, drawing on KJV text and public-domain sources including Spurgeon, Andrew Murray, and Matthew Henry.