Consider him who endured from sinners such hostility against himself, so that you may not grow weary or fainthearted. In your struggle against sin you have not yet resisted to the point of shedding your blood. And have you forgotten the exhortation which addresses you as sons? –“My son, do not regard lightly the discipline of the Lord, nor lose courage when you are punished by him. For the Lord disciplines him whom he loves, and chastises every son whom he receives.” It is for discipline that you have to endure. God is treating you as sons; for what son is there whom his father does not discipline? If you are left without discipline, in which all have participated, then you are illegitimate children and not sons. Besides this, we have had earthly fathers to discipline us and we respected them. Shall we not much more be subject to the Father of spirits and live? For they disciplined us for a short time at their pleasure, but he disciplines us for our good, that we may share his holiness. For the moment all discipline seems painful rather than pleasant; later it yields the peaceful fruit of righteousness to those who have been trained by it.
–Hebrews 12:3-11