What is the meaning of [many go out for wool and come home shorn]

Many people who set out to make their fortune, or to achieve some other aim, end up in a worse state than before.