Let me give an anecdote:
I was a PhD 1995-2001 at UCSF. I made $25K/year plus UC benefits.

Then I was a postdoc at Berkeley 2001-2004. I made $76K/year plus UC benefits plus the service clock for the pension started.

Then I was a staff scientist at LBL 2004-2007. I made $100K/year plus UC benefits and the service clock for the pension continued (I have enough service credit to get some thousands of dollars a month after I retire). It was an exhausting job and I did not enjoy having to simulateously publish, travel, and get grants to hire people to do research for me. I concluded this was not enough to buy a house and raise a family, so I left for industry.

I worked at Genentech 2007-2008 and made $120K ("Senior Architect") plus full benefits (which were pretty good).

I then moved to Google as an L5 (I had wanted to work there for ~10 years before I got hired) and started around $140K plus stock options, benefits, and retirement. Over the decade I worked there (2008-2019) my pay was increased signficantly every year, ending around $250K (including the year that Eric Schmidt gave everybody a 10% raise. thanks eric) along with ever-increasing options and then RSUs, worth millions (about $200K/year), excellent benefits, and saving a ton for retirement. There were a lot of side benefits- on the job training, free phones, etc. I really lucked out getting hired and promoted and being there during a growth period; I don't ever expect to have a role like that again.
This was the first time I truly felt like I could have kids and a home in the Bay Area without going deeply in debt.

The first few years at Google were stressful, I worked about as hard as I did at LBL, but every bit of hard work was compensated in some way or another- additional pay, access to resources (I basically could use all of the idle cycles in prod at Google- 1-3M cores- to do protein design, and publish). Every bit of research work that led to publications had far more impact (mainly due to the employer's position in research) than before, and I felt supported by the infrastructure to do ambitious things.

I spent a year at a Startup, making $250K and similar benefits to Google. I was employee #11 and have (worthless) equity- if they IPO I might get somewhere around $1M depending on how diluted my shares are and how big the IPO is. I am not allowed to sell the shares on secondary market.

Now I am back at Genentech and make more than I ever have in terms of base pay, while the stock (Roche stock) isn't nearly as valuable as what I got from Google. Fortunately, all those previous years helped build up a big buffer that will help pay for my kids to go to college (hopefully, some of my payment will go to help somebody else's kid get financial aid).

I'd actually love to return to LBL because if I do, my career will actually form a correctly nested path: LBL -> Genentech -> Google -> Startup -> Google -> Genentech (I am here) -> LBL. I'm sure I could get rehired there but at this point, why would I want to work harder for less money and publication credibility?

Looking back at my postdocs, while I learned a lot, I did not like the power dynamic with my PI, and really only persisted for 3 years with the goal of getting a much higher paying job.