Yes, your first few jobs in the technology field increase pay greatly over your first few years. Your overall expenses only increase if you decide to get married and have children in this time, but with youth putting that off, it's more common to make a lot of money without massive life changes.
Earnings go up, but so do expenses and responsibilities for most people.
And would your earnings be where they are now if you had a big gap in your twenties where you did a failed startup? (Depends on the experience it gave you, I guess.)
My career is almost entirely startups. ~25 years of it. Several failed. Several paid out inconsequential amounts. It's never been anything but a positive in interviews, as long as you can talk to lessons learned and as long as it doesn't seem like you were the primary reason it failed.
Despite a family, I have more disposable income net of tax now than my gross salary for most of my 20's.