12 I have yet many things to say unto you, but ye cannot bear them now. 13 Howbeit when he, the Spirit of truth, is come, he will guide you into all truth: for he shall not speak of himself; but whatsoever he shall hear, that shall he speak: and he will shew you things to come. (John 16:12-13 KJV)
William Burkitt’s Commentary
The second benefit, which our Saviour declares was to be expected by the coming of the Holy Spirit, relates to the apostles themselves: He shall guide you into all truth; that is, into all truth necessary for you to know in order to salvation.
This is a principal text which the papists bring for their doctrine of infallibility, but groundlessly: for this promise was made to all the apostles, as well as Peter; nay, not only to the apostles, but to all their succesors: yea, not to the apostles only and their successors, but to all believers also: for they are led by the Spirit of God, and that into all truth too; not absolutely, but into all necessary truth: and so far as a private Christian follows the conduct and guidance of the divine Spirit, he is more infallible than either pope or council, who follow the dictates and directions of their own spirits only.
That is, he shall not teach you a private doctrine, or that which is contrary to what ye have learned of me, but whatsoever he shall hear of me, and receive from me, that shall he speak; and he will shew you things to come.
This affords an argument to prove the Holy Spirit to be God: he that can shew us things to come, he that clearly foreseeth and infallibly foretelleth what shall be, before it is, is certainly God.
But this the Holy Spirit doth: He will shew you things to come. Men and devils may guess at things to come, but none can shew things to come, but he that is truly and really God: and therefore the Spirit is so.