Argue your case with your friend, and do not reveal the secret to an outsider
Other versions
King James Version
Debate thy cause with thy neighbour himself; and discover not a secret to another: English Standard Version
Argue your case with your neighbor himself, and do not reveal another's secret,New International Version
If you argue your case with a neighbor, do not betray another man's confidence,