Glad to see someone else say this. I feel like I'm crazy reading these replies about being ripped off. I've been working startups my whole career, earning salaries, working with good people and having fun at times. Sometimes the equity even pays out, but that's not my only financial "egg".
Only after they managed to raise any money, which is not as common as many people assume. And whatever you pay yourself as a founder initially eats into your runway, so that's always a tradeoff.