Psalms 140:13 (KJV)

Surely the righteous shall give thanks unto thy name: the upright shall dwell in thy presence.