Kublai Khan defeated Alibaba Brother for position by virtue of the powerful strength of the Central Plains and the Han Dynasty, and he attached great importance to the control of the Han Dynasty. In order to effectively control the Han dynasty, we must vigorously promote the Chinese law, and the essence of the Chinese law is Confucianism. Therefore, as soon as Kublai Khan acceded to the throne, he widely called famous Confucianism in the world, set up Chinese studies, and ordered aristocratic children to enter school to study Confucian classics; He also recruited many Confucian scholars to become military officials and consultants.
Due to the gradual popularization of Confucian education, by the middle of the Yuan Dynasty, the rulers of the Yuan Dynasty had highly respected Confucianism. Wu zong named Confucius "the king of Dacheng Shengxuan"; Renzong even said that "governing the country by cultivating one's morality and putting Confucianism and Taoism first" is such a well-known Confucian saying. It was in this situation that in the second year of Injong (13 13), the imperial examination, which had been interrupted for more than 80 years, was resumed, and the classics of Cheng and Zhu Zhu Zhu were taken as the examination contents. At this point, Confucianism achieved an ideological dominant position in the Yuan Dynasty in the form of Zhu Cheng Neo-Confucianism.
To sum up, it can be seen that the rulers of the Yuan Dynasty respected Confucianism in order to consolidate their rule in the Han Dynasty.