This is a pretty simple and obvious observation. Have you ever been asked to take a proctored IQ test to help establish the "average IQ" of your own country? Presumably not. So why do people keep getting took by this silly idea that "average IQ per country" is a thing?
What you do see are attempts to synthesize IQ from aggregate economic and educational attainment data. But obviously these are really just proxies for economic development, which then begs the question.
Focusing on his critics is more illuminating and damaging to your presumed position:
Systematic review by Wicherts et al: "In light of all the available IQ data of over 37,000 African testtakers, only the use of unsystematic methods to exclude the vast majority of data could result in a mean IQ close to 70. On the basis of sound methods, the average IQ remains close to 80."
They of course follow it with the conjecture: "Although this mean IQ is clearly lower than 100, we view it as unsurprising in light of the potential of the Flynn effect in Africa (Wicherts, Borsboom, & Dolan, 2010) and common psychometric problems associated with the use of western IQ tests among Africans."
It's always curious how "common psychometric problems associated with the use of western IQ tests among Africans" don't carry over to economics and other things. Wouldn't you expect them to have similar problems with other western "ideas"? Also interesting how Easterners adapted to western IQ tests so well they are better at them than the West.
I'm not getting further into the details here because the easiest-to-understand point here is that there are not in fact programs to generate reliable "average IQ" numbers in different countries. I am struck by the fact that message board nerds from America believe these programs exist, when almost none of us have ever taken an IQ test.
Given a multitude of such values it would even be possible to get back to a precise IQ value.
IQ tests are just factor analysis artifacts. You can dream up 100 questions that you conjecture may have something to do with intelligence and not even know the answers and have 10,000 people answer them. Product of the factor analysis of the answers will yield a normal distribution which you can then center on 100. Calibration can be more complicated than that but you get the point.
The natural circumstances people find themselves in are also just noisy questions.
All the politically and economically prosperous countries show as high and the basket cases show as low. And if you sit in on their political discourse it increasingly sounds like you’re in an open air mental institution. (Though regrettably that model has been losing a lot of predictive power in the democratic West lately).
IQ is also only one (mediocre) signal you are putting a lot of emphasis on. India does not score well, yet it is clearly emerging and has very successful individuals from mathematics to chess.
Someone mentioned malaria-afflicted test takers before. Of course better healthcare leads to lower disease load, which leads to higher IQ, but it’s only a weak link, simply not leaving old tires with water strewn about the place is free.