Yeah, probably depends a lot on where. I'm just a sysadmin, the difference in pay between here in silicon valley and the cheaper parts of the US for my labor are extremely dramatic. I mean, it's dramatic for better educated programmers, too, but not nearly as much as it is for me with no degree and a less prestigious title.
I know a bunch of people who worked at lockheed around here, and, like you'd get literal MIT rocket scientists with security clearances making... dramatically less than me, even though I have one of the lower paid technical roles you can find at the FAANG companies.