This is demonstrably untrue. IQ has increased consistently for decades, far faster than genetic factors can explain. Environmental factors like education, nutrition, and medical care are the obvious explanation.
how does one separate "doing good" and "stop doing harm"?
I'd personally count nutrition squarely in the second category
This also assumes that IQ testing has remained static. It has not. IQ tests continue to evolve and there are >1 of them and they do not all agree. I.E. the tests themselves might be responsible for some of the variance.