Extended information: respecting Confucianism and law in Han Dynasty
The founding of the Han dynasty adopted the rule of inaction, and the Taoist thought of Huang Lao was the main idea in the Wenjing period, supplemented by Confucianism and law, as the guiding ideology of the legal system. It not only emphasizes inaction, but also attaches importance to the role of courtesy and morality. It not only recognizes the importance of law, but also insists on simplifying the law and serving the people. After Emperor Wu of the Han Dynasty, the rulers established the legal guiding ideology of Confucianism as the orthodox thought, supplemented by legalists, and its center was "morality as the main punishment", that is, moral education was first used, and then punishment was imposed. This way of governing the country with both rigidity and softness became the guiding ideology of the legal system of the Han Dynasty after Emperor Wu of the Han Dynasty.
References Han Dynasty _ Baidu Encyclopedia