Joseph Smith, during his Old Testament translation in 1832, receives revelation that the Melchizedek priesthood and temple ordinances, once intended for all Israel, were withdrawn because they "hardened their hearts and could not endure [God's] presence."
Section 84:19–25, Doctrine and Covenants, The Church of Jesus Christ of Latter-day Saints, accessed May 23, 2023
19 And this greater priesthood administereth the gospel and holdeth the key of the mysteries of the kingdom, even the key of the knowledge of God.
20 Therefore, in the ordinances thereof, the power of godliness is manifest.
21 And without the ordinances thereof, and the authority of the priesthood, the power of godliness is not manifest unto men in the flesh;
22 For without this no man can see the face of God, even the Father, and live.
23 Now this Moses plainly taught to the children of Israel in the wilderness, and sought diligently to sanctify his people that they might behold the face of God;
24 But they hardened their hearts and could not endure his presence; therefore, the Lord in his wrath, for his danger was kindled against them, swore that they should not enter into his rest while in the wilderness, which rest is the fulness of his glory.
25 Therefore, he took Moses out of their midst, and the Holy Priesthood also;