The Bible quotes from many different sources but this does not make them inspired.
Here are some examples of scriptures where the Bible quotes other books: