Yes, but what would be considered an attack?
For example if one country takes out a loan and then refuses to pay it back, is that not an attack?
Or if one country sponsors terrorism that targets China or it’s allies, is that not an attack?
Or if one country cheats in order to gain advantage over domestic brands, is that also not an attack?
As the largest industrial power and economy, any event in the world will impact China. So a force capable of projecting hard power anywhere is needed. There is no point in invading others, but the military should be able to blockade any lane in the world, sink the navies of hosile nations and conduct deep strikes into their territory. That’s the only way fair play and lasting peace can be ensured.
You are recommending military responses to non-military, or not purely military, problems which is likely to be ineffective and has never been China's MO. These problems are also completely separate from the deterrence power of having the conventional means to defeat inbound aggression and guarantee MAD to any aggressor's home territory.