Romans 15:4

For all that was written of old has been written for our instruction, so that we may always have hope through the power of endurance and the encouragement which the Scriptures afford.

1 Corinthians 10:11

All this kept happening to them with a figurative meaning; but it was put on record by way of admonition to us upon whom the ends of the Ages have come.

2 Peter 1:21

for never did any prophecy come by human will, but men sent by God spoke as they were impelled by the Holy Spirit.

Revelation 1:11

It said, "Write forthwith in a roll an account of what you see, and send it to the seven Churches--to Ephesus, Smyrna, Pergamum, Thyateira, Sardis, Philadelphia and Laodicea."

Revelation 1:19

Write down therefore the things you have just seen, and those which are now taking place, and those which are soon to follow:

Treasury of Scripture Knowledge

Summary

Thus speaketh the LORD God of Israel, saying, Write thee all the words that I have spoken unto thee in a book.

Bible References

General references

Romans 15:4
For all that was written of old has been written for our instruction, so that we may always have hope through the power of endurance and the encouragement which the Scriptures afford.
1 Corinthians 10:11
All this kept happening to them with a figurative meaning; but it was put on record by way of admonition to us upon whom the ends of the Ages have come.
2 Peter 1:21
for never did any prophecy come by human will, but men sent by God spoke as they were impelled by the Holy Spirit.
Revelation 1:11
It said, "Write forthwith in a roll an account of what you see, and send it to the seven Churches--to Ephesus, Smyrna, Pergamum, Thyateira, Sardis, Philadelphia and Laodicea."