Statistically if you can get into a tier 1 company you’ll be better off. You get 10-20 years at $200-$400k by default, so $2-8 million. You have to weigh that against the exit success chance and size of a 5-10 year (as typical) startup run to an exit.
It’s not all about money of course, and if you can run your own place you can probably get into into a tier 1 tech company.