We enter public sector with the expectations of the private one. Every public sector worker 'deserves' to be high middle class, which today is defined as 300k+ income easily, and we strive to have as many public sector workers as possible.
Important to remember that when comparing SV tech salaries to the rest of the country.