Hebrews 12:5-11

and ye have forgotten the exhortation which, indeed, reasons with you as with sons: "My son, do not lightly regard the chastening of the Lord; neither faint, when reproved by Him;

Revelation 3:10

Because you kept the word of My patience. I also will keep you from the hour of trial, which is about to come upon the whole inhabited earth, to try those who dwell upon 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 were chastening us, according to what seemed good to them; but He for our profit, that we may partake of His holiness.
Revelation 3:10
Because you kept the word of My patience. I also will keep you from the hour of trial, which is about to come upon the whole inhabited earth, to try those who dwell upon the earth.