This is true although nobody likes to admit this. Intelligence, including specific subfields of intelligence, is highly heritable, explaining about 70% of variance.
It's worth pointing out that heritability only looks at relative contributions within the population under study. If the population under study has a terrible education system, it can be simultaneously true that IQ is highly heritable, and also that the education system could be vastly improved, and also that in a different education system IQ. would not be as heritable.