1)
What is the meaning of "Tov Li Chi Unisi"?
1.
Rashi #1: It is good that I was afflicted, in order that I return from the bad path and guard Your Chukim.
2.
Rashi #2: It was good in my eyes when I suffered affliction, in order to learn Torah amidst pain.
3.
Radak: It was good for me when I afflicted myself and exerted "in order to learn Your Chukim." I consider it a great benefit and pleasure.
4.
Malbim: Even though Torah weakens [the body], it was good that I was afflicted, in order that via this, I can learn Your Chukim. Only one who kills himself for Torah can understand its secrets. "Inuy" includes bodily affliction, and of money and property.