Righteous And Thanks in the KJV
3 verses of the King James Version have both "righteous" and "thanks".
Psalms 97:12 Rejoice in the Lord, ye righteous; and give thanks at the remembrance of his holiness.
Psalms 119:62 At midnight I will rise to give thanks unto thee because of thy righteous judgments.
Psalms 140:13 Surely the righteous shall give thanks unto thy name: the upright shall dwell in thy presence.