Hebrews 12:7-11 New Revised Standard Version (NRSV)
7 Endure trials for the sake of discipline. God is treating you as children; for what child is there whom a parent does not discipline? 8 If you do not have that discipline in which all children share, then you are illegitimate and not his children. 9 Moreover, we had human parents to discipline us, and we respected them. Should we not be even more willing to be subject to the Father of spirits and live? 10 For they disciplined us for a short time as seemed best to them, but he disciplines us for our good, in order that we may share his holiness. 11 Now, discipline always seems painful rather than pleasant at the time, but later it yields the peaceful fruit of righteousness to those who have been trained by it.