The Discipline of God

God disciplines those He loves. As any father would.

For consider him that endured such contradiction of sinners against himself, lest ye be wearied and faint in your minds. Ye have not yet resisted unto blood, striving against sin. And ye have forgotten the exhortation which speaketh unto you as unto children, My son, despise not thou the chastening of the Lord, nor faint when thou art rebuked of him: For whom the Lord loveth he chasteneth, and scourgeth every son whom he receiveth. If ye endure chastening, God dealeth with you as with sons; for what son is he whom the father chasteneth not? But if ye be without chastisement, whereof all are partakers, then are ye bastards, and not sons. 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? 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. 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.
- Hebrews 12:3-11 (KJV)

Job writes about this too.

Behold, happy is the man whom God correcteth: therefore despise not thou the chastening of the Almighty:
- Job 5:17 (KJV)

Even Revelation speaks about this.

As many as I love, I rebuke and chasten: be zealous therefore, and repent.
- Revelation 3:19 (KJV)

It's worth it in the end.