King James Version (KJV)
I will praise thee with uprightness of heart, when I shall have learned thy righteous judgments.
Modern English
I will praise you with an upright heart, when I learn your righteous rules.
Hebrew
אוֹדְךָ֗ בְּ֭יֹשֶׁר לֵבָ֑ב בְּלָמְדִ֖י מִשְׁפְּטֵ֣י צִדְקֶֽךָ׃
ʾvodka byosher lebab blamdiy mishpṭey ṣidqeka