It's a matter of resource allocation. China has much more to gain by infiltrating other countries' networks than by protecting its own networks from infiltration. It's simply a matter of maximizing the available resources.
On April 19th, 2021. See this statement in context.