When I was in college I learned I liked the idea of coding a lot more than I liked coding. Now I know just enough C++ to be able to translate dev speak into corporates speak and back, can claim to be an engineer, and get to talk to stupid people, who think they are smart, who think that I'm really smart, and I spend more of my day on social media. I had one job that in the six months I was there I think I actually did MAYBE 40 hours of work. If it wasn't for "business conditions related to COVID-19" I'd probably still work there, though I'm making more, and working somewhat more, now.
developers SHOULD make more, but in my experience they don't. I suspect part of this is because the people that make the salary decisions frequently talk to the PM so they know he's valuable, but the devs even if he has talked to them he likley doesn't have a relationship with them, and sees them primarily as a number of spreadsheet that can be replaced with less expensive developing nation devlopers anytime the stock price goes down (or in my case went up but they thought it was going to go down, so they went ahead and laid off 1,000 devs in the States anyway, promising to hire 3,000 Indian devs in their place, and then not actually doing that even, which made the stock price go up again)