 He taught that if people live worthily, that their family relationships can last beyond death so that families can be together forever.Because Smith taught the temple ordinance of sealing, the LDS Church teaches that it is the divine responsibility of every person to search out their ancestors and do their family history, so that parents can be sealed to children, and families united eternally; the LDS Church operates the largest genealogical library in the world for this purpose.In 1832, Smith claimed to receive a revelation to build a building that could serve as a "house of God"—namely, a temple.