Largely opinion here, but the glaring issue with many modern governments is that they don't do. They get some consultants to come in, make some requirements, then shop for a contractor. IMO, governments should do a lot more themselves, should own infrastructure/utilities outright & ongoingly.
Particularly hard in today's climate where so so many people are empowered to say no, or to come in and add their own pet complications/expenses to a project. The meta-governance of staying to mission, to relentlessly caring about value optimization (in the pursuit of public good) is fraught with failure modes. Yet still it feels vastly less dangerous and expensive than shopping the work out, than governments perpetually seeking to do things it itself doesn't know much about & can't do.
We've had decades of nihilism that sees this juncture of difficulty & says: maybe we shouldn't have a government. But some day, I hope, maybe, possibly, we'll redisocver the spirit of makers and doers, and the eternal jibing critically can give way to a some will & make happen.
It's telling that in order to interact in many ways with the IRS online, you have to verify your identity using a private company (ID.me). Identification of citizens and residents has to be on the short list for core competencies of any government, but we outsource even that.