Looking at the government as monolithic and omniscient, sure. But its the same as any organization: made up of tons of people who don't all know everything, who disagree with each other about things, while generally trying to do the right thing. And sometimes they get it wrong (I too remember the food pyramid)