Indian economic system was different. Weakly vivekananda's "Hindu communism" was extremely useful to hide that poverty to talk about.
In simple words, there were thousands of temples used to provide foods, and those were sufficient, and now if this practice is revived, the problem will be in much better shape.
Another point huge donation of business man for the shake of religion.