Hebrews 12:11

New American Standard Bible (NASB)
All discipline for the moment seems not to be joyful, but sorrowful; yet to those who have been trained by it, afterwards it yields the peaceful fruit of righteousness.

Read Hebrews 12:11 in other translations