What you're saying is completely accurate, but I'd add that it's all relative. Are you falling towards the ground, or is the ground falling towards you? For instance malnutrition lowers IQ, in both directions. There is an inverse correlation between IQ and BMI, but what's most interesting is that that correlation has maintained just as strong even as obesity rates skyrocketed, which is suggestive that there's probably something causal, in some direction, somewhere in there.
And so in modern times if it turns out that eating less than most people apparently want to contributes to IQ, are you doing something good by eating less, or are they doing something bad by eating more? I think it's basically the same thing, just looked at in different ways.
Or are smarter people better able to regulate their food intake? (Either innately, or because society gives them other privileges which makes them less likely to overeat)