Psalm 119:67-72 New International Version (NIV)

67. Before I was afflicted I went astray, but now I obey your word.

68. You are good, and what you do is good; teach me your decrees.

69. Though the arrogant have smeared me with lies, I keep your precepts with all my heart.

70. Their hearts are callous and unfeeling, but I delight in your law.

71. It was good for me to be afflicted so that I might learn your decrees.

72. The law from your mouth is more precious to me than thousands of pieces of silver and gold.

Psalm 119