I would welcome an opportunity to walk away from the entire tech industry with a guaranteed-for-life income, allowing me to pursue dreams without them needing to be financially viable. Setting up as a high end timber boat builder without ever needing to turn a profit while still having the same income I do now is something I'd jump at immediately.
Except it's not "for life". It's until they feel free to lift the non-compete. My guess is that most information you take from a company is irrelevant in a couple years. Maybe 5 tops?
Plus it'd almost certainly end with zero notice. You'd get a email saying "you're free to go". Suddenly. After say 26 months.
So it's not like a "pension for life" - just a gap in your employment history.
Oh no, ah jeez, slightly more than one year of income for zero effort, darn.
Any employment gap can be easily explained by saying "I was under a non-compete and being paid garden leave while working on personal projects to keep my skills fresh". It's very common in e.g. the finance world, I believe.
I suspect most people with that sentiment don't have a mortgage/kids/etc. I have known youngish people who got a very nice severance package back in the day and essentially took a 6 month sabbatical. I don't really see a problem for getting future jobs so much. But it is a loss of significant income (assuming you were well-compensated even if you're still being paid something) and may not have great alternatives for income though, if you're in the position to do so, you can of course travel or whatever.
There's perhaps significantly lower total compensation and potential uncertainty. A lot of people just aren't in the position to travel the world (or whatever) for a year. Or even work on an open source project that may or may not even be within the bounds of the non-compete depending in the company.