Beijing uses external foes to divert the public's attention away from China's domestic woes.