This quote means that having an optimistic attitude and being able to find joy in life is a real wealth, while being filled with worry and sadness can be a real source of poverty. In other words, having a positive outlook on life is more valuable than any amount of money.