This is an important reality check for many people.
I entered tech in 2004, during the immediate aftermath of the dotcom crash. At that time software engineers got paid well, but not insane. Additionally, every software engineer I met was passionate about writing code.
Honestly, around 2019 I was really missing those days. The field has become flooded with people looking for a high paying job with essentially no interest in software or computer science beyond the paycheck it provides. I don't blame people for wanting to make money, but I do miss virtually everyone in the industry being genuinely fascinated with software and programming.
The good news is, if you're the kind of person who would write code even if it paid minimum wage, you'll survive this. People whose book shelves are filled with CS books, who find themselves working on coding problems at night because it's fun, who can't help hacking around with new ideas on the weeked, will very likely continue to work in software. You'll likely make less money, but you'll also have more fun.
Unsurprisingly, in this current market I'm getting paid less but having more fun at work than I've had in nearly a decade.