The elephant in the room is software developers are massively underpaid. If so many are willing to take the risk is because a one in a hundred chance of success is better than a 100% chance of going nowhere.
I've played the startup lottery, twice, and look forward to do it again. I'd rather own a percentage of a company that has a minute chance of success than a contract signed in blood for a "market salary" for the rest of my life.