What does A problem shared is a problem halved mean?

A problem shared is a problem halved meaning in Idioms Dictionary

in the event that you discuss your dilemmas, it'll make you feel better.