His strong emphasis on morality led him to systematize and quantify earlier ideas about how spirits punished immoral behavior. Ge Hong maintained that for each minor moral transgression one committed, the Director of Fates would subtract three days from his or her lifespan; for each major transgression, three hundred days would be deducted.
To guide people's behavior, he even listed sixty-four possible sins. Very few of these prohibitions are religious in nature – the overwhelming majority concern secular life and many are Confucian inspired. Furthermore, he posited that, to achieve spiritual benefits, one had to continuously accumulate good deeds: 300 were needed to become an earthbound immortal and 1200 to become a celestial immortal. One mishap and the balance would be canceled. Ge Hong even transformed the three corpses, evil entities within the body who endeavor to destroy it to earn their freedom, into ethical agents that try to decimate their host's health by disclosing his sins to the celestial authorities. This system of measuring good and bad deeds would later giver rise to the Ledgers of Merit and Demerit, popular books that let people keep track of their moral progress by assigning numerical scores to virtuous and immoral behavior.