Seeing how China handled the pandemic with a freaking ~1.5 billion population, it is very obvious that they can counter any other problem in the same way.
They dont suffer from 'the economy' (ie stock market) religion which puts profits over people. That's the simplest reason which they will succeed under any condition.