Psalm 119:7 in the King James Version
I will praise thee with uprightness of heart, when I shall have learned thy righteous judgments.
Context
6 Then I wouldn’t be disappointed, when I consider all of your commandments.
7 I will give thanks to you with uprightness of heart, when I learn your righteous judgments.
8 I will observe your statutes. Don’t utterly forsake me. BETH