Contradiction with Matthew 10:27
2 Samuel 17:17 involves secret communication, whereas Matthew 10:27 promotes proclaiming in the open what is heard in secret.
Matthew 10:27: What I tell you in darkness, [that] speak ye in light: and what ye hear in the ear, [that] preach ye upon the housetops.
Contradiction with Proverbs 11:13
2 Samuel 17:17 depicts confidential information passing discreetly, while Proverbs 11:13 suggests a faithful spirit keeps matters private.
Proverbs 11:13: A talebearer revealeth secrets: but he that is of a faithful spirit concealeth the matter. [A talebearer: Heb. He that walketh, being a talebearer]
Contradiction with John 18:20
In 2 Samuel 17:17, secret intelligence is shared, in contrast, Jesus in John 18:20 speaks openly to the world, rejecting secrecy.
John 18:20: Jesus answered him, I spake openly to the world; I ever taught in the synagogue, and in the temple, whither the Jews always resort; and in secret have I said nothing.
Contradiction with Ephesians 5:12-13
2 Samuel 17:17 involves hidden actions, while Ephesians 5:12-13 emphasizes exposing deeds of darkness with light.
Ephesians 5:12-13: For it is a shame even to speak of those things which are done of them in secret.
Contradiction with Luke 8:17
The concealed actions in 2 Samuel 17:17 contradict Luke 8:17's message that nothing hidden will remain undisclosed.
Luke 8:17: For nothing is secret, that shall not be made manifest; neither [any thing] hid, that shall not be known and come abroad.