Romans 15:4

For whatever things were written before were written for our learning, that through patience and through encouragement of the Scriptures we might have hope.

Romans 4:23-24

Now it was not written that it was accounted to him for his sake alone,

Psalm 119:81-83

My soul faints for your salvation. I hope in your word.

Romans 5:3-5

Not only this, but we also rejoice in our sufferings, knowing that suffering works perseverance;

Romans 8:24-25

For we were saved in hope, but hope that is seen is not hope. For who hopes for that which he sees?

Romans 12:12

rejoicing in hope; enduring in troubles; continuing steadfastly in prayer;

1 Corinthians 9:9-10

For it is written in the law of Moses, "You shall not muzzle an ox while it treads out the grain." Is it for the oxen that God cares,

1 Corinthians 10:11

Now all these things happened to them by way of example, and they were written for our admonition, on whom the ends of the ages have come.

2 Timothy 3:16-17

Every Scripture is God-breathed and profitable for teaching, for reproof, for correction, and for instruction in righteousness,

Hebrews 6:10-19

For God is not unrighteous, so as to forget your work and the labor of love which you showed toward his name, in that you served the saints, and still do serve them.

Hebrews 10:35-36

Therefore don't throw away your boldness, which has a great reward.

James 5:7-11

Be patient therefore, brothers, until the coming of the Lord. Behold, the farmer waits for the precious fruit of the earth, being patient over it, until it receives the early and late rain.

1 Peter 1:13

Therefore, prepare your minds for action, be sober and set your hope fully on the grace that will be brought to you at the revelation of Jesus Christ --

2 Peter 1:20-21

knowing this first, 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.

Bible References

Whatsoever

Romans 4:23
Now it was not written that it was accounted to him for his sake alone,
1 Corinthians 9:9
For it is written in the law of Moses, "You shall not muzzle an ox while it treads out the grain." Is it for the oxen that God cares,
1 Corinthians 10:11
Now all these things happened to them by way of example, and they were written for our admonition, on whom the ends of the ages have come.
2 Timothy 3:16
Every Scripture is God-breathed and profitable for teaching, for reproof, for correction, and for instruction in righteousness,
2 Peter 1:20
knowing this first, that no prophecy of Scripture is of private interpretation.

That

Romans 5:3
Not only this, but we also rejoice in our sufferings, knowing that suffering works perseverance;
Romans 8:24
For we were saved in hope, but hope that is seen is not hope. For who hopes for that which he sees?
Romans 12:12
rejoicing in hope; enduring in troubles; continuing steadfastly in prayer;
Psalm 119:81
My soul faints for your salvation. I hope in your word.
Hebrews 6:10
For God is not unrighteous, so as to forget your work and the labor of love which you showed toward his name, in that you served the saints, and still do serve them.
Hebrews 10:35
Therefore don't throw away your boldness, which has a great reward.
James 5:7
Be patient therefore, brothers, until the coming of the Lord. Behold, the farmer waits for the precious fruit of the earth, being patient over it, until it receives the early and late rain.
1 Peter 1:13
Therefore, prepare your minds for action, be sober and set your hope fully on the grace that will be brought to you at the revelation of Jesus Christ --

General references

Jeremiah 30:2
Thus speaks Yahweh, the God of Israel, saying, Write all the words that I have spoken to you in a book.
Luke 21:19
"By your endurance you will win your lives.
John 20:30
Therefore Jesus did many other signs in the presence of his disciples, which are not written in this book;
Romans 4:23
Now it was not written that it was accounted to him for his sake alone,