Even though China can compete at the top of many markets, they still also compete at the bottom, which taints their reputation.
China is clearly supporting Russia in Ukraine. China is clearly making plans to invade Tiawas (that alone makes them just as bad as the US, even if it hasn't happened yet).
Your empire is decaying and it's going to keep lashing out up until it's completely gone.
China conducted one several-week war against Vietnam and annexed Tibet, both over 50 years ago. Other than the longstanding dispute with Taiwan, who are they threatening? Some quibbles over a few Himalayan mountains with India?
Two wars.
According to Chinese claims, the number of soldiers killed was 32 on the Chinese side and 65 on the Indian side in Nathu La incident; and 36 Indian soldiers and an 'unknown' number of Chinese were killed in the Cho La incident.[8] "
War might be overstating it a bit, "incident" might be more appropriate, but we can round up in the spirit of comity.
So adding it all up, the Chinese had 1-2 small foreign wars per decade in the 50s-70s, zero since 1979. It still doesn't justify the phrasing "threatening all their neighbors" in 2025, aside from Taiwan specifically.
In the case of the line of control with India, it's reached the point where they're having ritualized fistfights at high altitude for pride, that's just comical. It's not threatening.