To the spoiling of my soul. — Literally, desolation to my soul. We may paraphrase,

“They rewarded me evil for good,
Which to me was desolation.”

Continues after advertising
Continues after advertising