Proverbs 25:9 in the King James Version
Debate thy cause with thy neighbour himself; and discover not a secret to another:
Context
8 Don’t be hasty in bringing charges to court. What will you do in the end when your neighbor shames you?
9 Debate your case with your neighbor, and don’t betray the confidence of another,
10 lest one who hears it put you to shame, and your bad reputation never depart.