But money isn't everything. Startup #2 was the place where I learned the most. I was senior enough to be single-handedly responsible for large projects like a distributed search engine and a logging and analytics service. Sure, my search engine was a POS compared to Google's, but at Google I would've worked on a part of a feature of a component of the search engine whereas at a startup I got to build the whole thing from scratch. I'm almost 40 now, and that search engine is still by far the most fun and educational engineering project I've ever worked on.
Aside from learning potential and financial comp, there are other factors like team camaraderie, independence, etc. I keep in touch with way more people from the two small startups than I do with Google colleagues. Google had a good culture, but the startups were much tighter knit.
Finally, I think articles advocating for startups vs. big companies are a little like trying to convert someone to atheism or Christianity with a blog post. It doesn't really work that way. Some people are wired for startups: they love them and spend their careers at small companies and don't understand why big companies are attractive. Other people are more drawn to big companies where the company itself has a huge impact, the teams are well-staffed and have lots of resources, and the employees get higher salaries and lots of other benefits. When these people try working at a startup, they often hate it and quickly go back to another large company.
Neither big nor small companies are objectively the best, but if you factor in personal happiness then often one type of company is the best for you.