Especially when it comes to despotic life-long leaders. After 2018, Xi no longer has to worry about the pretense of term limits. We can only hope the state of Russia after the Ukrainian conflict is a convincing enough lesson.
Invading Taiwan...the risks are substantial and the gain is legacy. Hardly a convincing for a nation, but potentially convincing for a man facing mortality.