The United States currently has child labor including in meat packing and agricultural positions.
Of course capitalism doesn’t eliminate child labor overnight. Villages in Pakistan and to a lesser extent China would starve to death if you eliminated child labor overnight. But capitalism is the only system that has proven capable of nearly eliminating it from a society over time.