This would probably be true if China didn't subsidize delivery of packages to the US. In many cases it is cheaper to send a package from China to the US than send the same thing within the US.
The USPS actually subsidizes the shipping of packages from China to the US. It is due to a treaty that was signed before China was an indistrialized nation.