Hebrews 12:5-11

and you have forgotten the encouragement which is addressed to you as sons: "My son, refrain from thinking lightly of the discipline the Lord inflicts, and giving up when you are corrected by Him.

Revelation 3:10

Because you have kept my message with the patient endurance that I give you, I also will keep you from the time of testing that is about to come upon the whole world, to test the inhabitants of 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 disciplined us only a short time, as it seemed proper to them, but He does it for our good, in order that we may share His holy character.
Revelation 3:10
Because you have kept my message with the patient endurance that I give you, I also will keep you from the time of testing that is about to come upon the whole world, to test the inhabitants of the earth.