Hebrews 12:5-11

and you have forgotten the encouraging words which are addressed to you as God's Children-- 'My child, think not lightly of the Lord's discipline, do not despond when he rebukes you;

Revelation 3:10

Because you kept in mind the story of my endurance, I will keep you in the hour of trial that is about to come upon the whole world, the hour that will test all who are living upon earth.

Treasury of Scripture Knowledge

Summary

Before I was afflicted I went astray: but now have I kept thy word.

Bible References

But now

Hebrews 12:10
Our fathers disciplined us for only a short time and as seemed best to them; but God disciplines us for our true good, to enable us to share his holiness.
Revelation 3:10
Because you kept in mind the story of my endurance, I will keep you in the hour of trial that is about to come upon the whole world, the hour that will test all who are living upon earth.