The low-fat diet myth was dispelled years ago by more rigorous scientific studies. I grew up for decades thinking butter led to heart attacks but that was a criminally bad pseudoscience that people accepted as fact for almost the entire duration of my life, and it makes me angry that I got fooled for so long.
I think the evidence that low-fat diets, popularized by the now infamous food pyramid in the early 90s, were a colossally bad idea is pretty irrefutable these days.
But, in any case, yes, for decades the nutrition experts in this country recommended replacing fats with carbohydrates and that was just horrible advice that wasn't supported by the science.