But eating out also causes negative externalities because the incentives between restaurant and food consumer aren't properly aligned.
Restaurants have every incentive to offer cheap, unhealthy, but more addictive foods because the resulting health issues are externalized towards the buyer and to the rest of society.
It's this incentive structure that gives rise to Supersized sodas, unlimited breadsticks at Olive Garden, etc.
One way to look at it is that the industrialization of food production (including cooking) is better at moving atoms around and making whatever people choose to eat cheaper, but worse at managing the bits of information that help people make wise decisions on what they actually should be eating.
It's also harder to verify that you got what you paid for -- my family used to go to the market every weekend to stock up, and you become intimately familiar with what's in season, what is fresh, and what tastes good, but it's easy for a restaurant to buy cut-rate produce and then dress it up with seasoning and technique.