Hebrews 12:6-11 King James Version (KJV)
6 For whom the Lord loveth he chasteneth, and scourgeth every son whom he receiveth.
7 If ye endure chastening, God dealeth with you as with sons; for what son is he whom the father chasteneth not?
8 But if ye be without chastisement, whereof all are partakers, then are ye bastards, and not sons.
9 Furthermore we have had fathers of our flesh which corrected us, and we gave them reverence: shall we not much rather be in subjection unto the Father of spirits, and live?
10 For they verily for a few days chastened us after their own pleasure; but he for our profit, that we might be partakers of his holiness.
11 Now no chastening for the present seemeth to be joyous, but grievous: nevertheless afterward it yieldeth the peaceable fruit of righteousness unto them which are exercised thereby.
1 Peter 4:12-13 King James Version (KJV)
12 Beloved, think it not strange concerning the fiery trial which is to try you, as though some strange thing happened unto you:
13 But rejoice, inasmuch as ye are partakers of Christ's sufferings; that, when his glory shall be revealed, ye may be glad also with exceeding joy.