NASB (Modified in brackets )
Only when the hands were clean, which in turn symbolized the inner cleansing of heart and mind (cf. v 2b and Ps 24:4), was it possible for the pilgrim to pass beyond the gates into the temple, where he could walk around the altar, the symbol of God’s presence and mercy. The altar was more than just the place of sacrifice; it symbolized God’s table, where his fellowship and presence could be known. Verses 6b-7 are anticipatory; they express the basic desire of the psalmist towards which the entire entrance liturgy was directed, namely admission to God’s house and the particular experience of his presence there, which in turn evoked from the worshiper both ‘praise’ and a recounting of God’s ‘wondrous deeds’ (v 7).