Our parents disciplined us for a little while as they thought best; but God disciplines us for our good, that we may share in his holiness. (NIV)
For [our earthly fathers] disciplined us for only a short period of time and chastised us as seemed proper and good to them; but He disciplines us for our certain good, that we may become sharers in His own holiness. (AMP)
For they verily for a few days chastened us after their own pleasure; but he for our profit, that we might be partakers of his holiness. (KJV)