That's great that Facebook "opened your eyes" in a seemingly healthy way. Seriously.
The world was full of ways to compare ourselves with others before social media came around. It isn't going away. Facebook is just the latest iteration, and also happens to be the most surface-level, un-holistic, and competitive channel yet conceived for this kind of behavior.
Once people get competitive about "happiness" and "self esteem", there's a way that they lose sight of the original "goal" in the attempt to outdo each other.
We should all explore the different available paths in life and strive to gain from others' perspective and experience, but the Facebook news feed is not a particularly good way to do it.