They would be so correlated even if they were a bad metric. Imagine a score that multiplies academic success and the highest Tetris score obtained within 100 miles of your birthplace, then subtracts 50 points if you're a girl. That would also be positively correlated with academic success.
IQ tests measure something, yes, but they're not magic. (See also: https://en.wikipedia.org/wiki/Goodhart%27s_law) I received a high-quality education including what amounts to IQ-test tuition (to pass an entrance exam); do you know of any studies that attempt to factor out this particular confounder?