Nutritional science is particularly bad in this regard. The recommendations that were advanced from (roughly) the 70s through the 90s lead to obesity and heart disease.
One thing in particular comes to mind: margarine.
I understand the nature of scientific theory, and that scientific theory is not dogma or absolute revealed truth, but does the public? And was that ever communicated? Vastly and systematically exaggerating your knowledge and certainty of something in order to present a "unified message to the public" is dangerously close to just lying.
I also think science is much more vulnerable to corruption by moneyed interests than many people will admit. Research payola is very real.
While I'm personally pretty convinced the CO2 problem is real, I do not blame people from being skeptical when government-backed science and jet setting rich do-gooders tell them they must accept higher energy costs and possibly a reduced standard of living in order to combat a threat they cannot directly perceive. It's particularly easy to understand in cases like China and India where fossil fuel energy is lifting billions out of abject poverty. I could afford to pay 3-4X for energy. A Chinese peasant or an American member of the working poor can barely afford to pay 1.01X for energy.