Yep. Take a look at any thread that compares medicine to other white-collar careers. All you see are people saying the grass is greener, talking about how they had one friend with a cousin who made >1 million per year in finance or law or consulting.
But the reality is that these are cherry-picked comparisons. There are a bunch of medical specialties with fantastic, secure income and reasonable lifestyle that blow law and finance and consulting and tech out of the water. And I don't just mean uber competitive gigs in derm or plastics - your average doc in rads, anesthesia, EM, etc are clearing a reliable 350k-500k+ doing shift work.
Not to downplay burnout, there is absolutely a toxic element in medicine that makes it seem normal or even expected to sacrifice all semblance of work/life balance (looking at you, surgeries).
I've said it before and I'll say it again - for a bright young American student that wants to guarantee themselves a stable top 1% income and decent work/life balance, there are multiple specialties in medicine that offer you that. We're not supposed to talk about picking medicine for these kinds of reasons, but they're legit reasons.