That is naive short term thinking. If children are not doing child labor, they have the opportunity to get education which in turn can improve the economic conditions of their country so that child labor won't be the only option anymore. It's a cycle that needs to be broken.