btw just for comparison over in the US
Trump has purged dozens of Generals, the head Admiral of the Navy and Coast Guard, head of NSA and Cyber Command and many other top-level officials in the military
and there are only 1,000 women in various special forces (had to pass same physical tests as men) but he is trying to get rid of them all too
Now that is the mark of dictator, agreed
The Commander in Chief of the military, also known as the President, has the authority to fire at will, that is how it works in America for 250 years now.
Trump was elected by the people of the United States. Twice. Soundly. Not a dictator.
Xi was never elected to his position by the people of China.
Being a bad president isn't the same thing as being a dictator.