Ecclesiastes 7:5

NLT
New Living Translation

5Better to be criticized by a wise person
than to be praised by a fool.