Ok, but there are still myriad confounding factors, even at that age. Do students from higher income schools in aggregate have higher IQs than those from lower income schools?
These are professors whose job it is to make sure you don't have such confounding variables.
You even have twin studies where one twin was adopted by rich and one by poor parents and it still holds.