The apostle said that the things recorded had been listed as examples. That was done so that the first people of God, their lives and conditions and their story might be of benefit. Israelâ€™s bondage is given there as a type of the Corinthianâ€™s (and therefore our own) bondage in sin. Moses the deliverer was then a type of Christ, who is the antitype by example.
When the Spirit of truth comes, he will guide you into all the truth, for he will not speak on his own authority, but whatever he hears he will speak, and he will declare to you the things that are to come. 14 He will glorify me, for he will take what is mine and declare it to you. 15 All that the Father has is mine; therefore I said that he will take what is mine and declare it to you. (John 16:13–15 ESV)
Jesus also declares in verse 14 that the Holy Spirit will glorify Jesus. The revelation of the Spirit will show the glory of Jesus. The Holy Spirit is going to glorify Jesus. How is the Spirit going to do that? The Spirit is going to reveal all truth and the truth is that Jesus is glorious. The scriptures reveal the glory of Jesus. The Spirit will declare everything about Jesus to the apostles, who would write down the teachings and life of Jesus for the world to read.
When you read this, you can perceive my insight into the mystery of Christ, which was not made known to the sons of men in other generations as it has now been revealed to his holy apostles and prophets by the Spirit. (Ephesians 3:4–5 ESV)
Let the Holy Spirit work in your life
The Holy Spirit is actively working through the word of God. The scriptures are not merely words on a page, but the words of Spirit written down by the apostles and prophets who were carried along by the Holy Spirit. The work of the Spirit was threefold according to Jesus.
First, the Spirit would convict. The word of God is the tool to convict the hearts of people. We must be convicted of our sinfulness, our unrighteousness, and our senseless thinking before we will be able to appreciate our Lord. Read the word of God with your heart open allowing the Word convict.
Second, the Spirit would reveal all truth. When we read the scriptures we are reading final revelation of God. There is no more truth to be revealed if the Holy Spirit revealed all the truth. All of the truth means there is no more to be revealed. Too many are trying to find truth in all the wrong places. The scriptures reveal all the truth and the answers we need for salvation and life are found in them.
Third, the Spirit would glorify Jesus. When we read the Word of God we must see the glory of Jesus in what we are reading. Everything in the scriptures is pointing to the love of God in Christ Jesus. So we read the scriptures looking for the glory of God so that we would praise and honor him as glorious.