What is the meaning of [A light purse makes a heavy heart]

We cannot be cheerful when we have money troubles. The reverse, of course, is
A heavy purse makes a light heart.