This statement lives or dies by your definition of 'scientist', but if we're talking about research scientists, it seems trivially obvious that a group constituting a small minority of the population would be quite unlikely to be a majority of 'farm kids'.
Having gotten that out of the way,I agree that it read as deliberately derogatory. Grandparent also draws the specious connection between knowledge and something being present in elementary textbooks, which I found more misleading. Clearly the body of knowledge of a society extends infinitely beyond the contents of their elementary textbooks; even the knowledge of the grade-school user of said book does so.
See for example here: https://academic.oup.com/joeg/article/21/5/683/5998980
> Do you think the offspring of farmers are stupid?
No, rather that the education opportunities in rural areas are rather scarce and underfunded (because school funding depends on the number of citizens, which is lower in rural areas), and as a result the education outcomes are worse (see above).
Also, why would not becoming scientists equal to being stupid? Kind of biased, hmm?
What the?! Where is your data on this?
Do you think the offspring of farmers are stupid? This seems incredibly biased.