Gratitude and comparison can’t occupy the same space in your mind.
They are incompatible.
You should choose only one.
If you do allow both into your mind, one will totally dominate the other into submission, until it gives up and goes away.
And you will be left with only one anyway.
Gratitude is an appreciation of what one has.
Comparison is anger raising from what others have and you do not have.
One should never compare oneself to those who have more than they do unless they are also willing to compare themselves to those who have significantly less.
When one does.
One will then find gratitude.
And the choice will be made for you.
A life without gratitude can in no way be compared to one with it.