Surely the righteous will praise your name, and the upright will live in your presence. (NIV)
Surely the [uncompromisingly] righteous shall give thanks to Your name; the upright shall dwell in Your presence (before Your very face). (AMP)
Surely the righteous shall give thanks unto thy name: the upright shall dwell in thy presence. (KJV)