We do have a trade deficit with China. But China has a similarly sized trade deficit with India. India has a trade deficit with the U.S.
It averages out.
Those who insist on buying U.S. made goods flunk the common sense test when their insistence is carried to the logical extreme. That is, if buying only U.S. products is good, buying only goods made in your state is better. If buying goods in your state is better, then buying the same goods made in your city is best.
Desired goods not made in your city? Oops!