This is the dumbest thing that anybody has ever said about economics.
Child labor existed since the birth of mankind. It existed for thousands of years before Adam Smith wrote The Wealth of Nations, and capitalism became a concept.
There's still child labor in the world today, and that's in socialist societies.
Capitalism made us rich enough that we could afford to ban child labor.