Luke 16:8

And the lord praised the steward of unrighteousness, because he acted prudently; because the sons of this age are more prudent toward their own generation, than the sons of light.

1 Corinthians 1:19-20

For it has been written, "I will destroy the wisdom of the wise, and the discernment of the discerning will I set aside."

1 Corinthians 3:19

For the wisdom of this world is foolishness with God; for it has been written, "He Who taketh the wise in their craftiness."

Treasury of Scripture Knowledge

Summary

And Absalom and all the men of Israel said, The counsel of Hushai the Archite is better than the counsel of Ahithophel. For the LORD had appointed to defeat the good counsel of Ahithophel, to the intent that the LORD might bring evil upon Absalom.

Good counsel

Bible References

To defeat

1 Corinthians 1:19
For it has been written, "I will destroy the wisdom of the wise, and the discernment of the discerning will I set aside."
1 Corinthians 3:19
For the wisdom of this world is foolishness with God; for it has been written, "He Who taketh the wise in their craftiness."

Good counsel

Luke 16:8
And the lord praised the steward of unrighteousness, because he acted prudently; because the sons of this age are more prudent toward their own generation, than the sons of light.