Answer
Legalism and Daoism were two opposing philosophies to Mozi's beliefs. Legalism emphasized strict laws and punishments to maintain order, while Daoism promoted naturalness, spontaneity, and non-interference with the course of nature. Mozi, on the other hand, advocated for universal love and impartiality, believing that these values could bring about a more just and harmonious society.