Romans 15:4

for, as many things as were written before, for our instruction were written before, that through the endurance, and the exhortation of the Writings, we might have the hope.

Romans 4:23-24

And it was not written on his account alone, that it was reckoned to him,

Psalm 119:81-83

Kaph. Consumed for Thy salvation hath been my soul, For Thy word I have hoped.

Romans 5:3-5

And not only so, but we also boast in the tribulations, knowing that the tribulation doth work endurance;

Romans 8:24-25

for in hope we were saved, and hope beheld is not hope; for what any one doth behold, why also doth he hope for it?

Romans 12:12

in the hope rejoicing; in the tribulation enduring; in the prayer persevering;

1 Corinthians 9:9-10

for in the law of Moses it hath been written, 'thou shalt not muzzle an ox treading out corn;' for the oxen doth God care?

1 Corinthians 10:11

And all these things as types did happen to those persons, and they were written for our admonition, to whom the end of the ages did come,

2 Timothy 3:16-17

every Writing is God-breathed, and profitable for teaching, for conviction, for setting aright, for instruction that is in righteousness,

Hebrews 6:10-19

for God is not unrighteous to forget your work, and the labour of the love, that ye shewed to His name, having ministered to the saints and ministering;

Hebrews 10:35-36

Ye may not cast away, then, your boldness, which hath great recompense of reward,

James 5:7-11

Be patient, then, brethren, till the presence of the Lord; lo, the husbandman doth expect the precious fruit of the earth, being patient for it, till he may receive rain -- early and latter;

1 Peter 1:13

Wherefore having girded up the loins of your mind, being sober, hope perfectly upon the grace that is being brought to you in the revelation of Jesus Christ,

2 Peter 1:20-21

this first knowing, that no prophecy of the Writing doth come of private exposition,

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.

Bible References

Whatsoever

Romans 4:23
And it was not written on his account alone, that it was reckoned to him,
1 Corinthians 9:9
for in the law of Moses it hath been written, 'thou shalt not muzzle an ox treading out corn;' for the oxen doth God care?
1 Corinthians 10:11
And all these things as types did happen to those persons, and they were written for our admonition, to whom the end of the ages did come,
2 Timothy 3:16
every Writing is God-breathed, and profitable for teaching, for conviction, for setting aright, for instruction that is in righteousness,
2 Peter 1:20
this first knowing, that no prophecy of the Writing doth come of private exposition,

That

Romans 5:3
And not only so, but we also boast in the tribulations, knowing that the tribulation doth work endurance;
Romans 8:24
for in hope we were saved, and hope beheld is not hope; for what any one doth behold, why also doth he hope for it?
Romans 12:12
in the hope rejoicing; in the tribulation enduring; in the prayer persevering;
Psalm 119:81
Kaph. Consumed for Thy salvation hath been my soul, For Thy word I have hoped.
Hebrews 6:10
for God is not unrighteous to forget your work, and the labour of the love, that ye shewed to His name, having ministered to the saints and ministering;
Hebrews 10:35
Ye may not cast away, then, your boldness, which hath great recompense of reward,
James 5:7
Be patient, then, brethren, till the presence of the Lord; lo, the husbandman doth expect the precious fruit of the earth, being patient for it, till he may receive rain -- early and latter;
1 Peter 1:13
Wherefore having girded up the loins of your mind, being sober, hope perfectly upon the grace that is being brought to you in the revelation of Jesus Christ,

General references

Jeremiah 30:2
'Thus spake Jehovah, God of Israel, saying, Write for thee all the words that I have spoken unto thee on a book.
Luke 21:19
in your patience possess ye your souls.
John 20:30
Many indeed, therefore, other signs also did Jesus before his disciples, that are not written in this book;
Romans 4:23
And it was not written on his account alone, that it was reckoned to him,