Just as the so-called "near the water tower platform first to get the moon", "catch the thief first capture the king", the guards around the ancient emperor are the closest group of people to the emperor, and most of them will also have a little effort, have a unique advantageous position, if they are instigated by some people with ulterior motives, the idea of killing the emperor, the consequences are unimaginable.
Many people think that if the bodyguard wants to kill the emperor, it is actually very easy, after all, "the open gun is easy to hide, the dark arrow is difficult to defend", so in real history, the emperor is not worried about being killed by the bodyguard, how does he ensure that he is not hurt by the bodyguard?

Avoid risks from the selection system
In many of the film and television dramas we are watching now, we will feel that those great internal guards are people with high martial arts, but in real history, in fact, there is no such exaggeration, the emperor pays more attention to loyalty, rather than the kung fu of the guards, so those who have been selected layer by layer and eventually become the guards around the emperor, although most of them have a little kung fu, but they are not martial arts masters.
Of course, even if they are not martial arts masters, because they are closest to the emperor, and the emperor is the most innate condition, so the emperor must be more worried about these people killing themselves, so the emperor in order to ensure his own safety, in the selection of bodyguards, it can be said that the emperor has made a lot of effort.
In the selection of bodyguards before the Qing Dynasty, guards were generally selected from some loyal generals or from the people, but when these guards were selected, they would usually be subjected to political interrogation, understand the situation of at least three generations of guards, and ensure that there was no record of adultery before they were selected into the palace to begin training.
These people who were selected as bodyguards were generally relatively young, and only by starting to cultivate them from an early age could they ensure their loyalty to the emperor, which the emperor was very clear. After being selected into the palace, the relevant personnel in the palace will cultivate these people, and after a long period of training, they will finally select the best candidates to be the guards around the emperor.
Those who can be selected to become the bodyguards around the emperor have unique advantages in terms of treatment and development prospects, so they can become the bodyguards around the emperor, in fact, they are already dragons and phoenixes among people, if their ability is poor, they must not have the opportunity to stand out.
In the Qing Dynasty, the selection of bodyguards was even more stringent, and in the Dorgon period, it was stipulated that officials above the three pins in Beijing, as well as the governors, inspectors, general soldiers and other people outside the city, each sent one parent to the palace for training, and after passing the examination, they could become the guards around the emperor, and if these officials did not have sons, they could send their brothers' sons to the palace for training.
It is more important that those officials must send their own sons or the sons of their brothers, and those cousins or distant relatives are not allowed, and the reason for formulating such a system is to ensure that the interests of these officials and the emperor are in line with each other, and also to ensure the loyalty of the guards around the emperor.
During the Shunzhi period, this system was reformed, and it was changed to select people from the Three Banners to enter the palace for training, and after passing the examination, let them serve as the guards around the emperor, these children of the Three Banners were actually not rich and noble figures in the dynasty, and the purpose of this was more pure, that is, to ensure the loyalty of the guards and the safety of the emperor.
Under such a strict selection system, there is basically no possibility of indiscriminate charging or counterfeit goods, so the emperor has actually avoided the risk of the guards being disloyal, or the guards will hurt themselves in the first stage of selecting the guards.
The bodyguard and the emperor are a community of interests
In addition to avoiding risks in the selection system, from the perspective of the self-interest of the guards, it is also completely possible to avoid risks. Those guards in ancient times, it can be said that no matter what kind of dynasty, their interests and the emperor are common, if the emperor is good, they will follow the good, if the emperor dies, it is obvious that these guards should be replaced, just the so-called one heavenly son and one courtier, this is the same truth for eternity.
Since the bodyguard and the emperor belong to a community of interests, why should the bodyguard attack the emperor? After killing the emperor, it is obviously not good for himself, and even if the emperor is killed, he cannot become the emperor himself, so why seek his own death?
Many outstanding officials in history have had the experience of being guards, such as hezhen during the Qing Dynasty, who started from the guards around the emperor, because he was more clever, and he was closest to the emperor, so "near the water tower platform first got the moon", the opportunity to be discovered by the emperor was more, and the chance of being promoted was naturally more, just like many boss drivers today, knowing too many secrets of the boss, the probability of being promoted is naturally higher.
Soldiers who do not want to be generals are not good soldiers, the same reason, those who are guards, they all want to continue to climb up, and the only way they want to continue to rise is the emperor, so they consider their future prospects, they will not think about the emperor, if the emperor is killed, is not he cutting off the back road?
Moreover, when the emperor selected these guards to be around, he had actually hung the lives of the guards on the guards, but all the guards were unfavorable to the emperor, such as murder and the like, whether they succeeded or not, the guards would eventually face the risk of being exterminated by the Nine Tribes.
Those who can become the guards around the emperor, the general family is relatively large or is gradually becoming stronger, their entire family fate is in their own hands, replaced by you and me, presumably on this kind of major issue of right and wrong, the attitude is also the same, it is inevitable that it is impossible to put the family fate aside because of their own selfish interests.
From this point of view, it is obviously impossible to ask the guards to assassinate the emperor, of course, more than two thousand years of feudal dynasty history has proved this, throughout the entire history of the feudal dynasty, there has not been a single case of the guards murdering the emperor, which is enough to show that the probability of this kind of thing happening is almost zero, in other words, it is impossible, so the emperor certainly does not need to worry.
epilogue
Ancient emperors are actually very smart, they can sit on the throne, they are doomed to their own extraordinary, treat those who are threatening their lives or things, whether it is from the system, or from the aspect of human nature and interests, will do their best to avoid risks, so a guard wants to kill the emperor, it is almost impossible, the emperor himself does not need to worry!