King James Version (KJV)
Before I was afflicted I went astray: but now have I kept thy word.
Modern English
Before I was afflicted I went astray, but now I keep your word.
Hebrew
טֶ֣רֶם אֶ֭עֱנֶה אֲנִ֣י שֹׁגֵ֑ג וְ֝עַתָּ֗ה אִמְרָתְךָ֥ שָׁמָֽרְתִּי׃
ṭerem ʾeʿeneh ʾaniy shogeg vʿatah ʾimratka shamartiy