The experience of stagflation--the combination of inflation and unemployment--badly damaged the prestige of economists in general and macroeconomics in particular, even though it was not that much of a theoretical surprise.
It was expected that stagflation would hurt the reputation of economists.