Romans 15:4

For so many things as were previously written were written for our instruction, in order that through the patience and through the consolation of the scriptures we may have hope.

Romans 4:23-24

And it was not written on account of him alone, that it was imputed to him;

Romans 5:3-5

And not only so, but let us also rejoice in tribulation; knowing that tribulation works out endurance;

Romans 8:24-25

For we are saved by hope: but hope which is seen is not hope: for why does any one indeed hope for that which he sees?

Romans 12:12

rejoicing in hope; patient in tribulation; continuing steadfastly in prayer;

1 Corinthians 9:9-10

For in the law of Moses it has been written, Thou shalt not muzzle the ox that plows. Is there a care to God for oxen,

1 Corinthians 10:11

But these things happened unto them as examples; and were written for our admonition, on whom the ends of the ages have descended.

2 Timothy 3:16-17

All scripture is God-breathed and profitable unto teaching, unto conviction, unto correction, unto instruction which is in righteousness:

Hebrews 6:10-19

For God is not unrighteous to forget your work and the divine love which you manifested in his name, having ministered to the saints, and ministering.

Hebrews 10:35-36

Therefore cast not away your confidence, which has great reward.

James 5:7-11

Therefore, O brethren, suffer long, until the coming of the Lord. Behold, the farmer receives the precious fruit of the earth, waiting for it, until he may receive the former and latter rain:

1 Peter 1:13

Therefore having girded up the loins of your minds, being perfectly sober, hope unto the grace which is conferred on you in the revelation of Jesus Christ.

2 Peter 1:20-21

know this in the first place, that no prophecy of scripture is of private interpretation.

Treasury of Scripture Knowledge

Summary

For whatsoever things were written aforetime were written for our learning, that we through patience and comfort of the scriptures might have hope.

General references

Bible References

Whatsoever

Romans 4:23
And it was not written on account of him alone, that it was imputed to him;
1 Corinthians 9:9
For in the law of Moses it has been written, Thou shalt not muzzle the ox that plows. Is there a care to God for oxen,
1 Corinthians 10:11
But these things happened unto them as examples; and were written for our admonition, on whom the ends of the ages have descended.
2 Timothy 3:16
All scripture is God-breathed and profitable unto teaching, unto conviction, unto correction, unto instruction which is in righteousness:
2 Peter 1:20
know this in the first place, that no prophecy of scripture is of private interpretation.

That

Romans 5:3
And not only so, but let us also rejoice in tribulation; knowing that tribulation works out endurance;
Romans 8:24
For we are saved by hope: but hope which is seen is not hope: for why does any one indeed hope for that which he sees?
Romans 12:12
rejoicing in hope; patient in tribulation; continuing steadfastly in prayer;
Hebrews 6:10
For God is not unrighteous to forget your work and the divine love which you manifested in his name, having ministered to the saints, and ministering.
Hebrews 10:35
Therefore cast not away your confidence, which has great reward.
James 5:7
Therefore, O brethren, suffer long, until the coming of the Lord. Behold, the farmer receives the precious fruit of the earth, waiting for it, until he may receive the former and latter rain:
1 Peter 1:13
Therefore having girded up the loins of your minds, being perfectly sober, hope unto the grace which is conferred on you in the revelation of Jesus Christ.

General references

Luke 21:19
In your patience gain your souls.
John 20:30
Indeed then Jesus also did many other miracles in the presence of His disciples, which have not been written in this book;
Romans 4:23
And it was not written on account of him alone, that it was imputed to him;