Doctrine & Covenants 45:56-57

And at that day, when I shall come in my glory, shall the parable be fulfilled which I spake concerning the ten virgins. For they that are wise and have received the truth, and have taken the Holy Spirit for their guide, and have not been deceived---verily I say unto you, they shall not be hewn down and cast into the fire, but shall abide the day.