1 Corinthians 11:32

As it is, we are chastened when we are judged by him, so that we may not be condemned along with the world.

Hebrews 12:10-11

For while their discipline was only for a time, and inflicted at their pleasure, he disciplines us for our good, that we may share in his own holiness.

Treasury of Scripture Knowledge

Summary

It is good for me that I have been afflicted; that I might learn thy statutes.

Bible References

Good

1 Corinthians 11:32
As it is, we are chastened when we are judged by him, so that we may not be condemned along with the world.
Hebrews 12:10
For while their discipline was only for a time, and inflicted at their pleasure, he disciplines us for our good, that we may share in his own holiness.