"Correlation" being the key here. All of those things are also correlated with having a good upbringing and environment, as well as nutrition in childhood, as is IQ, so IQ is basically an irrelevant reflector of environment/inheritance factors.
https://www.youtube.com/watch?v=8wcSSLo9TIs