This means that not spending money is almost the same as earning it because it will still be in your pocket!
A: Why do you bring your lunch to work with you instead of buying it at a cafe?
B: I’m trying to save money and a penny saved is a penny earned!