Psalm 24:3–5

We must be worthy to enter the temple, and as we serve therein, the Lord blesses and refines us.

3 Who shall ascend into the hill of the Lord? or who shall stand in his holy place?
4 He that hath clean hands, and a pure heart; who hath not lifted up his soul unto vanity, nor sworn deceitfully.
5 He shall receive the blessing from the Lord, and righteousness from the God of his salvation.

Elder Neal A. Maxwell wrote:

“Temples are designed not only to endow and to seal us but also to refine us.”

(A Wonderful Flood of Light [1990], 125–26.)