King James Version
Before I was afflicted I went astray: but now have I kept thy word.New International Version
Before I was afflicted I went astray, but now I obey your word.Catholic Public Domain Version
Before I was humbled, I committed offenses; because of this, I have kept to your word