They have really great pensions and mat/paternity leave and those sorts of benefits.
You get some lifers that work there but they also get a lot of contractors and people that leave after a few years for a private sector job with more pay but worse pension.
Source: work as a contractor in UK public sector