Proverbs 26:5

NIV
New International Version

5Answer a fool according to his folly,
or he will be wise in his own eyes.