mal de moitos, consolo de todos

Etymology
Attested since 1370. Approximately, "misfortune of many, comfort of all" (other alternative forms say "comfort of fools").

Proverb

 * 1)  misery loves company; two in distress make sorrow less