Jesus asks us to be generous with the poor. It’s one of the foundations of his public ministry: caring for the poor himself and asking his disciples to do so.
Fasting does a number of things for us. First, it’s often healthy. Second, it reminds us that we have some control over our bodies. But it’s the third reason that is often lost on people: to save money so that we can give to the poor.