“Write the things which you have seen, and the things which are, and the things which will take place after this.”
The various books that make up the Bible make no secret that though they were written down by dozens of different men, they all were inspired by a single author (2 Timothy 3:16). In Revelation 1:19, Jesus Christ told the apostle John to write down these things that make up the last book of the Bible.
At the other end of the Bible, we see God telling Moses to write down what He revealed to him (Exodus 34:27). Moses went on to write the first five books of the Bible (the Law or the Pentateuch).
It’s interesting to note that the One who appeared to Moses is also revealed as the One who became Jesus Christ: “For they drank of that spiritual Rock that followed them, and that Rock was Christ” (1 Corinthians 10:4).
Jesus Christ, the Word of God (John 1:1), also inspired the written Word of God, from Genesis to Revelation, from Moses to John.
For more about the inspiration and accuracy of the Bible, see “How Do We Know the Bible Is True?”