Romans 15:4

The things written in earlier times were written for our instruction, that we through endurance and the encouragement from the Scriptures might have hope.

Romans 4:23-24

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

Psalm 119:81-83

I long for your salvation. I wait for your word.

Romans 5:3-5

Not only that, but we also rejoice in our tribulations knowing that tribulation produces endurance.

Romans 8:24-25

We are saved by this hope. But hope that is seen is not hope. For does a man hope for what he sees?

Romans 12:12

Rejoice in hope! Be patient in tribulation. Continue in prayer.

1 Corinthians 9:9-10

It is written in the Law of Moses: You should not muzzle the mouth of the ox that treads (threshes) out the grain. Does God care only about oxen?

1 Corinthians 10:11

These things happened for examples, and they are written for our instruction, upon whom the end of the ages has come.

2 Timothy 3:16-17

God inspired all Scripture! It is profitable for teaching, for reproof, for correction, and for instruction in righteousness. (Greek: theopneustos: God-breathed)

Hebrews 6:10-19

For God is not unrighteous (unjust) to forget your work and the love you showed for his name. You ministered to the holy ones and continue to minister.

Hebrews 10:35-36

Do not lose your courage (confidence) (boldness). It brings a great reward with it.

James 5:7-11

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

1 Peter 1:13

Brace up your minds. Remain sober, and set your hope perfectly on the grace that is to be brought to you at the revelation of Jesus Christ.

2 Peter 1:20-21

Know this first that no prophecy of scripture is for 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 for his sake alone, that it was counted to him.
1 Corinthians 9:9
It is written in the Law of Moses: You should not muzzle the mouth of the ox that treads (threshes) out the grain. Does God care only about oxen?
1 Corinthians 10:11
These things happened for examples, and they are written for our instruction, upon whom the end of the ages has come.
2 Timothy 3:16
God inspired all Scripture! It is profitable for teaching, for reproof, for correction, and for instruction in righteousness. (Greek: theopneustos: God-breathed)
2 Peter 1:20
Know this first that no prophecy of scripture is for private interpretation.

That

Romans 5:3
Not only that, but we also rejoice in our tribulations knowing that tribulation produces endurance.
Romans 8:24
We are saved by this hope. But hope that is seen is not hope. For does a man hope for what he sees?
Romans 12:12
Rejoice in hope! Be patient in tribulation. Continue in prayer.
Psalm 119:81
I long for your salvation. I wait for your word.
Hebrews 6:10
For God is not unrighteous (unjust) to forget your work and the love you showed for his name. You ministered to the holy ones and continue to minister.
Hebrews 10:35
Do not lose your courage (confidence) (boldness). It brings a great reward with it.
James 5:7
Be patient, brothers, until the coming of the Lord. Behold, the farmer waits for the precious fruit of the earth, being patient over it, until it receive the early and late rains.
1 Peter 1:13
Brace up your minds. Remain sober, and set your hope perfectly on the grace that is to be brought to you at the revelation of Jesus Christ.

General references

Jeremiah 30:2
This is what Jehovah the God of Israel says: Write in a book everything that I tell you.
Luke 21:19
You will gain your lives because of your endurance.
John 20:30
Jesus did many miracles (signs) in the presence of the disciples. They are not written in this book.
Romans 4:23
Now it was not written for his sake alone, that it was counted to him.