Contradiction with Psalm 25:14
Whereas Daniel 2:17 demonstrates Daniel sharing the secret with his friends, Psalm 25:14 emphasizes that only those who fear the Lord will know His secret.
Psalm 25:14: The secret of the LORD [is] with them that fear him; and he will shew them his covenant. [and...: or, and his covenant to make them know it]
Contradiction with Proverbs 18:2
Daniel 2:17 shows Daniel seeking counsel from his friends, whereas Proverbs 18:2 states a fool has no pleasure in understanding, suggesting that reliance on human counsel could be seen as foolish.
Proverbs 18:2: A fool hath no delight in understanding, but that his heart may discover itself.
Contradiction with Matthew 6:6
Daniel 2:17 shows Daniel praying with others, while Matthew 6:6 recommends praying in private.
Matthew 6:6: But thou, when thou prayest, enter into thy closet, and when thou hast shut thy door, pray to thy Father which is in secret; and thy Father which seeth in secret shall reward thee openly.
Contradiction with Galatians 1:16
Daniel 2:17 shows Daniel immediately consulting others, while Galatians 1:16 expresses the sentiment of not immediately conferring with flesh and blood after a revelation, suggesting solitude in divine matters.
Galatians 1:16: To reveal his Son in me, that I might preach him among the heathen; immediately I conferred not with flesh and blood: