In Mohism, morality is not defined by tradition, but rather by a constant moral guide that parallels utilitarianism. Traditionalism is inconsistent, and man-kind need an extra-traditional guide to identify which traditions are acceptable. The moral guide must then promote and encourage social behaviors that maximise general utility.
Belief in the heavens as a divine force (Tian) who know the immoral acts of man, who can punish and is then a force to encourage moral righteousness. Belief in spirits is at best vague; against elaborate funeral ceremonies, defined as a waste of resources.