Psalm 119:67

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

Read Psalm 119:67 in other translations