There is no obligation to donate. However, I would argue that if one believes in morals, then being a better or worse person hangs on the effect we have on the world, which we can deem good, bad or neutral. Giving to charities is part of our impact. In my views (so abiding to my morals, which don’t bind anyone but myself), giving to charities or not, when one has the means to do so, does participate in making someone a better or worse person.
Which is a big part of why I don’t invest in VT (another big part is that I don’t want to concentrate General Assemblies’ voting power in the hands of a few investment companies and yet another one is that I don’t want my taxable money to have anything to do with the US). We don’t have to invest in companies with which mission statements we don’t agree. To the contrary, I consider it part of the job of an investor, which is proper allocation of capital, to invest according to their own world view. On the other hand, I do consider Nestlé investment worthy so not everybody would agree that my moral compass is set rightly.