It’s more nuanced than that:
1. Someone making $200k is definitely doing well compared to almost anyone in the US (94th percentile, 98th at $300k) but those salaries are heavily clustered in very expensive areas where that might not even be the top 10%. Someone making that much working at Apple or Google is living in a normal house - a nice one, sure, but not a mansion - and still feeling things like childcare costs.
2. That tech worker has to go to work every day. If they get sick, their income will end just like someone making coffee or pulling packages in a warehouse - to be clear, not as quickly and there are more conditions they can keep working with, but their income is derived by selling their time. Contrast that with the truly rich, who have passive income and enough assets that things rearrange around their needs. Someone with $10M in the bank isn’t homeless if they get a chronic illness, and if they own the company (or are related to the owner) they get as much time off as they need to deal with it.
Nobody should feel sorry for tech workers but it’s important to look at how people’s lives differ, especially in the United States where things like healthcare and retirement are linked to their ability to work.