It isn’t so much that public sector jobs pay less, it’s that they pay so little (even with locality adjustments) that you can’t afford to live near them: Oh, and you have to live near them, because the government as a whole maintains a raging hate-on for telework/WFH.