Psalm 119:67

New International Version - UK Bible (NIVUK)
Before I was afflicted I went astray,
    but now I obey your word.

Read Psalm 119:67 in other translations