This can be stated in active form. Alternate translation: "Before you afflicted me" or "Before you punished me" (See: [[rc://en/ta/man/translate/figs-activepassive]])
Disobeying God is spoken of as if the person walked on the wrong path. Alternate translation: "I disobeyed you" (See: [[rc://en/ta/man/translate/figs-metaphor]])