So... that path exists in tech too. As you say, a "big tech from CS school" trailhead. Politics, and tech versions of rainmaking play a role sorting into senior positions from there too.
Up to this point, a tech career has a lot more options and opportunities. Didn't get google? Work at a bank, a startup, a salesforce solutions techshop.... Didn't get MIT? There are other paths forward, including quirky ones that will work too.
Past this point, well-to-do lawyer at Biglaw has the cushier path. Law firms respect seniority. They give them nice offices, autonomy. Senior partners don't worry about wippersnappers running circles around them in some new law paradigm. They don't need to relearn contract law periodically.
The point about happiness is valid, but complex. That competitive prestige game is, empirically, often misery making. Programming has more realness, but there can be a lot of performance stress, especially if you're thinking in decades.