Hebrews 10:34
10:34 For in fact you shared the sufferings of those in prison, and you accepted the confiscation of your belongings with joy, because you knew that you certainly had a better and lasting possession.
Hebrews 12:11
12:11 Now all discipline seems painful at the time, not joyful. But later it produces the fruit of peace and righteousness for those trained by it.