Pretty much the same in government. My friends in the private sector get paid 30-40% more, but the benefits are worth it. I have extremely good healthcare paid 100% by my employer, 4 weeks of paid vacation per year, a pension plan that pays for life after 28 years (I can retire when I'm 51) and an extreme level of job security (in developed countries governments don't "go out of business" like private firms).
I actually had a friend straight up offer me a private sector job a few years ago at a 25% pay increase over my current one and I turned it down. The extra pay isn't worth the stress.