Teach me knowledge and good judgment, for I trust your commands.
Before I was afflicted I went astray, but now I obey your word.
You are good, and what you do is good; teach me your decrees.
Though the arrogant have smeared me with lies, I keep your precepts with all my heart.
Their hearts are callous and unfeeling, but I delight in your law.
It was good for me to be afflicted so that I might learn your decrees.
The law from your mouth is more precious to me than thousands of pieces of silver and gold.
Your hands made me and formed me; give me understanding to learn your commands.
May those who fear you rejoice when they see me, for I have put my hope in your word.
I know, LORD, that your laws are righteous, and that in faithfulness you have afflicted me.
May your unfailing love be my comfort, according to your promise to your servant.