I have a variety of ways to analyse this:
0) Remember that social media and the press shows the best parts of people's lives and rarely the crappy parts that everyone has.
1) You can't have it all. Often people sacrifice other parts of their lives to achieve in one area. My old boss that got promoted to a very high position never found a partner or children. Other tech friends who have earned a lot have worked thier whole lives and never went backpacking around the world like I did.
2) Some people have advantages. Eg Bill Gates was a millionaire before he even started college, many famous people had privileged upbringings.
3) Some people are just lucky. Maybe they were in the right place in the right time. I had a very wealthy friend who I never figured out why they spent so much or how they could afford such a big house and expensive vacations. Later I found out their father literally won the lottery, $50Mil - at the same time her sister has severe deformities from birth. Which brings to
4) Money and "Success" doesn't equal happiness. My wealthy friend would easily give it up to have a healthy happy sister. Taleb talks a lot about how suburbs filled with huge multi-million dollar houses are filled with bored lonely people.
5) You're probably much wealthier and have a better life than most people already. Remember >2Billion people don't have clean tap water they can drink. People are risking their lives so they can come to the US or Europe to work in construction or cook your meals in a restaurant.