IQ is more like lead additive in gasoline. Unnecessary to the main purpose, created with very dubious motivations, yet for decades people took it for granted that you can’t do without.
The question about IQ is does it measure anything? Is it predictive? And can that be useful? And the answer all three of those questions is obviously yes.
Lead everywhere is as toxic as assuming IQ measures some kind of general intelligence.