Yeah free food is a really good way to spend money on your employees. Just the cost of people walking to get food makes it worthwhile to provide on site.
I worked at place before that didn't have coffee so people would walk to the coffee place in groups that took 15-30 minutes. Sometimes twice a day. It became a routine part of the day, everyday.
Like literally throwing the cost of an invisible bag of Starbucks beans in the garbage everyday to save the visible cost of brewing a few cups.