That means that someone have to work to make the food that is given to other people. So get food, someone has to work. If there is no food, someone starves. Society can just redirect who is working and who is starving.
It's not a zero sum game. We have the technology to ensure nobody starves, and not doing so seems transparently evil.