Contradiction with Genesis 41:15-16
In Genesis, Joseph is able to interpret Pharaoh's dreams, unlike the wise men in Daniel 5:8 who cannot read or interpret the writing.
Genesis 41:15-16: And Pharaoh said unto Joseph, I have dreamed a dream, and [there is] none that can interpret it: and I have heard say of thee, [that] thou canst understand a dream to interpret it. [thou...: or, when thou hearest a dream thou canst interpret it]
Contradiction with Daniel 1:17
Daniel is depicted as having knowledge and skill in all wisdom and is capable of understanding all visions and dreams, contrasting the inability of the wise men in Daniel 5:8.
Daniel 1:17: As for these four children, God gave them knowledge and skill in all learning and wisdom: and Daniel had understanding in all visions and dreams. [Daniel...: or, he made Daniel understand]
Contradiction with Isaiah 29:11-12
This passage mentions a sealed book that no one can read, which contrasts with Daniel 5:8 where the writing is unsealed but still unreadable.
Isaiah 29:11-12: And the vision of all is become unto you as the words of a book that is sealed, which [men] deliver to one that is learned, saying, Read this, I pray thee: and he saith, I cannot; for it [is] sealed: [book: or, letter]
Contradiction with Matthew 2:2-4
The wise men in the New Testament seek and find guidance from scripture, unlike the wise men in Daniel 5:8 who cannot interpret the writing.
Matthew 2:2-4: Saying, Where is he that is born King of the Jews? for we have seen his star in the east, and are come to worship him.