Confucian worship served family lineage and the state, and the social relationships that were important in that tradition.
Daoism was oriented to the more magical or esoteric aspects of life—finding ultimate reality by retreating to nature, and also seeking magical elixirs (that is, alchemy) for long life and prosperity.