This complete list is called the canon of Scripture. It includes 46 books for the Old Testament (45 if we count Jeremiah and Lamentations as one) and 27 for the New. 91
Catechism number 122
Indeed, "the economy of the Old Testament was deliberately SO oriented that it should prepare for and declare in prophecy the coming of Christ, redeemer of all men."93 "Even though they contain matters imperfect and provisional,94 The books of the OldTestament bear witness to the whole divine pedagogy of God's saving love: these writings "are a storehouse of sublime teaching on God and of sound wisdom on human life, as well as a wonderful treasury of prayers; in them, too, the mystery of our salvation is present in a hidden way."95