Psalms 119:67-71 CSB
Before I was afflicted I went astray,
but now I keep your word.
You are good, and you do what is good;
teach me your statutes.
The arrogant have smeared me with lies,
but I obey your precepts with all my heart.
Their hearts are hard and insensitive,
but I delight in your instruction.
It was good for me to be afflicted
so that I could learn your statutes.
CSB: Christian Standard Bible