H6662 Surely the righteous H3034 shall give thanks [H8686] H8034 unto thy name H3477 : the upright H3427 shall dwell [H8799] H6440 in thy presence.
Surely the righteous shall give thanks unto thy name: The upright shall dwell in thy presence.
Surely the [uncompromisingly] righteous shall give thanks to Your name; the upright shall dwell in Your presence (before Your very face).
Yes, the righteous will give thanks to your name, and those who do right will live in your presence.