Blessed is the man whom you discipline, O LORD, and whom you teach out of your law, to give him rest from days of trouble, until a pit is dug for the wicked.