Hebrews 12:10

ISV(i) 10 For a short time they disciplined us as they thought best, but God does it for our good, so that we may share in his holiness.