Question: how are legalism and confucianism similar?
Answer: Confucianism and Legalism both required strict adherence to principles, whether they were enforcement-based Legalist ones or shame-based Confucian ones. Daoism, in contrast, recognizes no law but the Dao, or the Way.