Proverbs 26:5

Amplified Bible (AMP)

Answer [and correct the erroneous concepts of] a fool according to his folly,
Otherwise he will be wise in his own eyes [if he thinks you agree with him].

Read Proverbs 26:5 in other translations