Unfortunately, in the US, we let a bunch of politicians who claim the government is bad at everything run the government. They have a vested interest in making sure it's not well run. For goodness sake, we had a president who said, "The nine most terrifying words in the English language are: I'm from the government, and I'm here to help." A sitting US president, who according to Wikipedia, is part of the government. We should have demanded his resignation then and there, and got someone who wasn't terrified of the organization he was a head of.
The most immediate solution to this is stop relying on contractors and let the government at every level build up public planning departments and a construction workforce that doesn't get let go when the project is finished.