“All Who Have Died without a Knowledge of This Gospel”
Doctrine and Covenants 137:7–9
7 Thus came the voice of the Lord unto me, saying: All who have died without a knowledge of this gospel, who would have received it if they had been permitted to tarry, shall be heirs of the celestial kingdom of God;
8 Also all that shall die henceforth without a knowledge of it, who would have received it with all their hearts, shall be heirs of that kingdom;
9 For I, the Lord, will judge all men according to their works, according to the desire of their hearts.
Elder Quentin L. Cook said:
“At the time Joseph Smith received revelations and organized the Church, the vast majority of churches taught that the Savior’s Atonement would not bring about the salvation of most of mankind. The common precept was that a few would be saved and the overwhelming majority would be doomed to endless tortures of the most awful and unspeakable intensity. The marvelous doctrine revealed to the Prophet Joseph unveiled to us a plan of salvation that is applicable to all mankind, including those who do not hear of Christ in this life, children who die before the age of accountability, and those who have no understanding [see D&C 29:46–50; 137:7–10].”
(“Our Father’s Plan—Big Enough for All His Children,” Ensign or Liahona, May 2009, 36–37.)