You have missed the point. Scientists were the ones making it black and white. The consensus was the sun was bad for your health. They said stay out of the sun and supplement with vitamin D. As for salt, scientists got that wrong as well. Read The Salt Fix [1] for more on that.
[1] https://www.amazon.ca/Salt-Fix-Experts-Wrong-Eating-ebook/dp...