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.
For the LORD will not forsake his people;
he will not abandon his heritage;
for justice will return to the righteous,
and all the upright in heart will follow it.