the neo-confucians believed that these ideas made explicit what earlier sages such as confucius and mencius had meant , but theyunwittingly or unconsciouslyborrowed heavily from both buddhism and daoism .