Hebrews 12:5-11

and you have forgotten the exhortation which is addressed to you as to sons: My son, despise not the chastening of the Lord, nor faint when you are reproved by him.

Revelation 3:10

Because you have kept the word of my patience, I also will keep you from the hour of trial that is about to come on the whole world, to try those who dwell on the 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
For they, indeed, for a few days, chastened us as they thought it good; but he chastens us for our profit, that we may be partakers of his holiness.
Revelation 3:10
Because you have kept the word of my patience, I also will keep you from the hour of trial that is about to come on the whole world, to try those who dwell on the earth.