Hebrews 12:7-10

7 It is for discipline that you endure; God deals with you as with sons; for what son is there whom his father does not discipline? 8 But if you are without discipline, of which all have become partakers, then you are illegitimate children and not sons. 9 Furthermore, we had earthly fathers to discipline us, and we respected them; shall we not much rather 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, so that we may share His holiness.