Righteousness and ignorance are incompatible. The glory of God is and ever has been intelligence, meaning light and truth (see D&C 93:36). Parents in all gospel dispensations have been charged with the responsibility to teach their children the principles of righteousness to the extent that those principles have been revealed to them (see Moses 5:12; Moses 6:5-6, 58-62; D&C 68:25; D&C 93:44-49).
Each generation is charged with the responsibility of passing to the succeeding generation the torch of “light and truth” by which they have been guided. To fail to do so is to come under the condemnation of God. To this end Adam kept a book of remembrance and he and Eve taught their children to read and write. Of that dispensation we are told that it was “given unto as many as called upon God to write by the spirit of inspiration,” and that they in turn taught the same to their children. (Moses 6:5-6.)