Let me ask you this:
When Paul wrote his epistles to the believers in Rome, Galatia, Corinth, Ephesus, Colossi, Thessaloniki, to Timothy, to the Hebrews and to Titus and Philemon, did he intend for those letters to be copied, dispersed to all the local churches and obeyed? How about Peter? When he wrote his two epistles? How about Jude? James? John when he wrote Revelation? Do you think these men of God spoke as they were moved by the Holy Spirit and did they recognize the work of the Holy Spirit in the writings of the others? Did they exhort their disciples to hear and obey what was spoken in these writings and to ensure ALL others did as well or did they just decide to wait until a church "council" made the decision three hundred years later?
This scenario you paint of some "church" council centuries after all these Apostles had died getting together with a pile of writings and deciding which ones were and which ones were not Divinely-inspired is a myth constructed to try to prove mere men were given the right by God to decide what they would accept from Him. It's foolishness! It borders on blasphemy. Did God expect the Jewish nation to do that with the writings of the Holy Prophets He sent to them or did He expect them to hear and obey? Unto the Jews were given the Oracles of God, Paul said. Should we presume they didn't know what those were until 382 A.D.?
These are questions every person must consider and come to realize that God has NOT left us to our own devices. He has given us HIS sacred word, the Word of Life, the Sword of the Spirit, and we are to hear Him and obey Him before ANY man - even IF he claims he is "infallible".
The process of compiling the New Testament canon was organic, and a consensus slowly emerged. But spurious books were disputed. Even some books that we accept today as canonical were disputed, such as Revelation.
There is even an ancient Ethiopian church today that regards the Didache as inspired.
And of course the OT canon remains contentious to this day.
So who has the authority to determine the canon?
You?
Luther?
An anti-Christian remnant of Jews who gathered in Jamnia 70 years after Pentecost?
Catholics “listen to the church” that Christ founded, as He commanded us. We trust “the pillar and foundation of truth” to determine what writings are divinely inspired.
Finally, there aren’t any biblical or ancient writings that mention the Bible being the ultimate rule of faith, because there was no universally agreed upon canon of the Old Testament, or even the New Testament, until the Councils of the fourth century.
And even then, the doctrine wasn’t practically possible until the invention of the printing press, 1100 years later.