Startup is not a lottery. Working for startup is risky, but the key is to build a system that increases your accumulated probability of success -- this is exactly why it's important to live in the bay area and work for some startups there, at least before the Covid-19. You get to see a large number of people who didn't fund any company, but still became financially independent or built an explosive career by choosing to join the right companies at the right time. You get to see how those people make their choices. You get to see how those people decide to jump ship. You get to build a social circle where you learn lots of first-hand information about startups.
Yes, it's still risky to join a startup, but no it's not a lottery. The chance of being rewarded handsomely is orders of magnitude higher than buying lottery.