This is absolutely false - and something that most Protestants have been spoonfed for most of their lives.
I don't blame you for learning this - but, as an adult - you really should do some research about these falsehoods you've been raised on.
Here's a little background on the canonization of Scripture.
Prior to the Canon being declared - MANY Books were considered Scripture and read before congregations for about 300 years.
Among these were apocryphal works like the Shepherd of Hermas, The Epistle of Barnabas, and the Letter of Clement, among others.
There was much debate over those first few centuries and many "canons" from different individuals. The problem was that no individual had the Authority to make this decision. Only the Church did.
During a period of 37 years at the end of the 4th and the turn of the 5th century, the Canon of Scripture was formally declared and confirmed FIVE times. It is the same canon of Scripture that was around during the Protestant Revolt and that is still in use today by the Catholic Church. It was during the so-called Reformation and subsequent periods that rebellious, prideful men had problems with the canon and decided that some of the books were uninspired. Luther wanted to remove several books including Hebrews, James, Jude and Revelation. Calvin and Zwingli did not believe Revelation to be inspired and wanted to remove it as well.
The Synod of Rome (382) is where the canon was first formally identified. It was confirmed at the Synod of Hippo eleven years later (393). At the Council (or Synod) of Carthage (397), it was yet again confirmed. The bishops wrote at the end of their document, "But let Church beyond sea (Rome) be consulted about confirming this canon". There were 44 bishops, including St. Augustine who signed the document. 7 years later, in 405, in a letter from Pope Innocent I to Exsuperius, Bishop of Toulouse, he reiterated the canon. 14 years after that, at the 2nd Council (Synod) of Carthage (419) the canon was again formally confirmed.
The Canon of Scripture was officially closed at the Council of Trent in the 16th century because of the perversions happening within Protestantism and the random editing and deleting of books from the Canon.
You don't have to believe me. Just research it yourself and you'll see that everything I just said is historically accurate.