What is the meaning of [spare and have is better than spend and crave]

It is better to use your money wisely, keeping some in reserve, than to spend it all and find yourself in need