For the record, they do buy food, too.

Sure, a lot of them buy alchohol or drugs, too. But think about it. You can't eat garbage food exclusively, you'd start getting some serious health problems pretty quick. And, it's only gonna get harder and harder to steal food, the longer you're homeless. Because you're only gonna look and smell weirder and weirder.