The Lutheran Confessions and inerrancy

How is it that confessional Lutherans hold to the “inerrancy” of the Bible when Luther himself advocated for the removal of the books of Hebrews, James, Jude and Revelation from the canon? That to me indicates that Luther himself didn’t view the entire canon as “God’s word” and found error in it. I could be wrong, but I’ve also been taught that the Lutheran confessions do not mention inerrancy either. Than you.

Like other Christians, Martin Luther voiced opinions about certain books of the Bible. He spoke for himself. His views do not bind the consciences of others, nor do they constitute the foundation of faith. Scripture alone is the foundation of Christian faith (Ephesians 2:20).

Luther included the books of the Bible you mentioned in his German translation of the Bible. (He also included apocryphal books, and inserted the heading that those books were not to be considered canonical but could serve as useful reading.)

For the most part, the Lutheran Confessions addressed doctrines over which Lutherans and the Roman Catholic Church disagreed. If there was agreement (as in the case of the inerrancy of Scripture), there was no need for a separate article on the topic.

The Lutheran Confessions do place a high value on Scripture. To see that, you could read the introduction to the Formula of Concord, the Large Catechism and the Smalcald Articles.