At midnight I rise to give you thanks for your righteous laws.
I am a friend to all who fear you, to all who follow your precepts.
The earth is filled with your love, LORD; teach me your decrees.
Do good to your servant according to your word, LORD.
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.