It's a potential weak point for domestic opposition. As long as Taiwan remains independent, opponents of the current administration can argue that if they were in power, they'd have taken Taiwan by now.
It's worse than that by some estimates by some China watchers.
You have the "Communist Princelings" (Xi is technically a member, it's how he got power in the first place) that seem to be moving against him now in the run up to their October meeting.
Then there is the Xiang Zemin faction who already attempted to overthrow Xi back in 2014.
George Soros and his 2021 OpEd was him likely playing mouthpiece to one of those two groups, maybe both.
Then there is the Xi Jinping faction. "The Princes" seem to support a Taiwan invasion but view Xi as unfit to lead it.
With a potential 3 way power struggle in process behind closed doors, their economy on the skids, with poor prospects of outside help soon given recent events... There is a strategic economic argument to be made that China could potentially crash the Global Economy, and not just their own(as might have happened otherwise), if they invade Taiwan right now if the World tries an equally strong sanctions regime (or stronger) in response.
That Xi could use it as cover to go after rivals still stands. That Xi also had established a cult of personality to rival Mao himself over the past 10 years also points to him trying to immortalize himself by going after Taiwan. He either captures it, and removes his rivals. Or he fails, but removes his rivals before the failure is comeplete. Then follow the model from the Kim family in North Korea to hold power until his own demise. If the Kim's could retain power after failing to take South Korea and nearly losing North Korea as well, why not?