See how happy is the person God corrects—so don't despise the Almighty's discipline.
Those you discipline are happy, Lord; those you teach from your Law.
You give them peace in days of trouble, until a pit is dug to trap the wicked.
Previously I was suffering, wandering away from you, but now I do what you say.
The suffering I went through was good for me, so I could think about what you have stipulated.
My son, don't reject the Lord's discipline or resent it when he corrects you,
for the Lord corrects those he loves, as a father corrects a son who pleases him.
But when we are judged, we are being disciplined by the Lord so that we won't be condemned along with the world.
Have you forgotten God's appeal to you when he reasons with you as his children? He says, “My child, don't treat the Lord's discipline lightly, and don't give up when he corrects you either.
When it happens, all discipline seems painful and not something to be happy about. But later on it produces peace in those who have been trained in this way so that they do what is good and right.