Confucius was a humanist and an agnostic.