Acts 2:17-18

God said that 'in the last days [of the Jewish nation?] I will pour out My Holy Spirit upon all people [i.e., both Jews and Gentiles], and your sons and daughters will speak out [in prophecies] and your young men will see [supernatural] visions, and your old men will have [supernatural] dreams.

Romans 15:4

For whatever things were written previously [i.e., in the Old Testament], were intended for us to learn from, so that we could have hope [i.e., in the face of difficult times] through remaining steadfast, and through the encouragement [received] from reading the Scriptures.

2 Corinthians 12:1

Although I must boast about myself [See 11:21-27], it [really] is not profitable. So, I will go on to [tell about] visions and [inspired] revelations given [to me] from the Lord.

Revelation 1:19

"So, write down the things that you have seen, and the things now going on, and the things that will happen later on.

Revelation 10:4

And when the seven thunders spoke [words], I started to write down [what the voices said], but I heard a voice from heaven saying, "Seal up what the seven thunders have [just] said, and do not write them down."

Treasury of Scripture Knowledge

Summary

In the first year of Belshazzar king of Babylon Daniel had a dream and visions of his head upon his bed: then he wrote the dream, and told the sum of the matters.

Daniel

Bible References

Daniel

Acts 2:17
God said that 'in the last days [of the Jewish nation?] I will pour out My Holy Spirit upon all people [i.e., both Jews and Gentiles], and your sons and daughters will speak out [in prophecies] and your young men will see [supernatural] visions, and your old men will have [supernatural] dreams.

Visions

2 Corinthians 12:1
Although I must boast about myself [See 11:21-27], it [really] is not profitable. So, I will go on to [tell about] visions and [inspired] revelations given [to me] from the Lord.

He wrote

Romans 15:4
For whatever things were written previously [i.e., in the Old Testament], were intended for us to learn from, so that we could have hope [i.e., in the face of difficult times] through remaining steadfast, and through the encouragement [received] from reading the Scriptures.
Revelation 1:19
"So, write down the things that you have seen, and the things now going on, and the things that will happen later on.
Revelation 10:4
And when the seven thunders spoke [words], I started to write down [what the voices said], but I heard a voice from heaven saying, "Seal up what the seven thunders have [just] said, and do not write them down."