Hebrews 12:11

11 Now no chastening for the present seemeth to be joyous, but grievous: nevertheless, afterward it yieldeth the peaceable fruit of righteousness to them who are exercised by it.