Psalm 119:7 KJV

7 I will praise thee with uprightness of heart, when I shall have learned thy righteous judgments.