There possibbly is no leader in history who drank the state propaganda koolaid as deeply as Chairman Mao. He accidentally murdered tens of millions when the propaganda turned out to be incongruent with reality. Meanwhile he stayed in power by butchering millions of potential opposition members, and by having nukes and ten million soldiers which impressed Nixon enough to bow and scrape before him.
The lesson has been learned by Chairman Xi. As long as he brutally cleans house domestically and is a MAD-level military threat, absolutely no one can doom his regime.