Until I went into the sanctuary of God
The tabernacle or house of God, where the Word of God was read and explained, prayer was made, and sacrifices offered up, and where fellowship was had with the saints, and communion with God himself; which for one hour or moment is preferable to all the prosperity of the wicked, during their whole life. This shows that though the psalmist was beset with the temptation, yet not overcome; it did not so far prevail as to cause him to neglect public worship, and relinquish the house of God, and the ordinances of it; and it is right, under temptations, doubts, and difficulties, to attend the public ministrations, which is the way and means to have relief under temptations, to have doubts resolved, and difficulties removed: some by "the sanctuary of God" understand the Scriptures, which are holy and of God, and are profitable for instruction, and are to be consulted and entered into by a serious reading of and deep meditation on them; whereby may be known the happiness that is prepared for the saints in the other world, and the misery of the wicked, and hereby judgment may be made of the present case and condition of each: others interpret it of the world of spirits, which may be entered into by contemplation; when it may be observed that the spirits of just men upon their dissolution possess unspeakable joys and glories, and the souls of the wicked are in inconceivable torments:
then understood I their end;
both of the godly and of the wicked; that the end of the righteous is peace, rest, salvation, and eternal life, and the end of the wicked is ruin, destruction, and death; see ( Psalms 37:35-38 ) .