There is such a thing as general intelligence which differs between different people. Arguing that IQ isn't real because IQ tests are imperfect, is like arguing in the year 1500 that temperature isn't real because all thermometers are imperfect.
Our lack of ability to precisely measure something does not mean the underlying thing is not real. There is such a thing as general intelligence which correlates strongly with almost every type of performance and life outcomes.
IQ tests are useful for measuring features of populations, but they're a very noisy measure of an individual's "general intelligence" (if such a thing even exists), with several confounders: whether you've trained to pass IQ tests, TDTPSATDIBCA [1], how well-rested you are, how stressed you are, how hungry you are, whether environmental conditions are distracting you… Many of these are also a factor in group averages, although in the context of measuring children's educational attainment, this is a feature rather than a bug: in that setting, IQ tests are a good measure (to the extent that educational attainment is something we want to be optimising for, which is another question entirely).
However, in this thread, we were discussing "the typical racist's use of IQs". Nobody was "arguing that IQ isn't real": you brought that up, unprompted. The lady doth protest too much, methinks.
[1]: https://hotelconcierge.tumblr.com/post/113360634364/the-stan...