Endure hardship as discipline; God is treating you as sons. For what son is there whom his father does not discipline?
In context
5And have you forgotten the encouragement addressed to you as sons? “My son, do not regard lightly the discipline of the Lord, nor lose heart when you are reproved by him; 6for the Lord disciplines the one he loves, and he chastises every son he receives.” 7Endure hardship as discipline; God is treating you as sons. For what son is there whom his father does not discipline? 8If you are without discipline, which all have shared in, then you are illegitimate children and not true sons. 9Furthermore, we have all had human fathers who disciplined us, and we respected them for it. How much more, then, should we submit to the Father of spirits and live!