Problem in the 70s was trans fats. Now they're no longer a risk, replacing butter with margarine is a solid evidence-based decision for one's health (though not so much for one's enjoyment!).
(And really, margarine can be plenty tasty. As a kid I actually preferred it to butter for some reason.)