And yet major church doctrines are justified by these books,that are clearly not inspired.
You're right. I would think if there is ANY doctrine, that someone asserts is mandatory to be believed, has to use questionable and human-generated writings to support - and those that contradict Scripture that ALL Christians accept as Divinely-inspired - then whatever they come up with is certainly untrustworthy, as well. And, I would think, any church that makes such assertions is also questionable in anything else they contend is doctrine.