There is not a list of the books of the Bible in any book of the Bible. However, there is a list of Mary’s ancestors in Matthew 1, a list of supervisors of the allotment in Numbers 34, and a list of priests and Levites who returned with Zerubbabel in Nehemiah 12. But isn’t it important that we Christians know, for sure, which books belong in Scripture, so we know what inspired writings are to be relied upon for doctrine, for reproof, for correction and for instruction in righteousness?
There is also the lineage of Joseph given in addition to Mary...and with good reason...we find throughout the old and new testament the complete historical record of the lineage of Christ....and important that that be so for obvious reasons.