This is just one of the many studies which have shown this relationship: https://pubmed.ncbi.nlm.nih.gov/19127804/ and https://www.ajmc.com/view/nearsightedness-correlates-with-hi...
Seems to validate all of the stupid lore of "four eyes" being objectively on average more nerdy and smarter.
Seems time spent outside trades off with time spent sharpening the mind in the way that benefits IQ tests - do I want my kid to be a nerd or a jock?