We just have example of another country shooting itself in the foot and attacking Ukraine despite a wealth of widely known arguments against doing this. Unfortunately logic and common sense sometimes take back sit in politics.
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.
> We can only hope the state of Russia after the Ukrainian conflict is a convincing enough lesson
We can also hope that the US refrains from creating another conflict to try to provoke China the same way they have been doing in Ukraine for the last 8 years. This "Pacific NATO" is the next thing. I am very pessimistic because the US is not going to allow China to overtake them in any way, and they have been behaving like that in their entire history.