The first people to receive the Book of Hebrews struggled with faithfulness to Jesus because of persecution, but the writer sought to encourage them, reminding them that at least some of their persecution may have been chastening from God, and so they should endure it,
Furthermore, we have had human fathers who corrected us, and we paid them respect. Shall we not much more readily be in subjection to the Father of spirits and live? For they indeed for a few days chastened us as seemed best to them, but He for our profit, that we may be partakers of His holiness. Now no chastening seems to be joyful for the present, but painful; nevertheless, afterward it yields the peaceable fruit of righteousness to those who have been trained by it (Hebrews 12.9–11).
We submitted to our earthly fathers. Should we not much more submit ourselves to our heavenly Father? That does not mean chastening pleases us, yet, if we think about it, we have to acknowledge that it does us good.