This falls apart a bit if providing better food costs more. Restaurants with better food may earn more revenue all else being equal but their costs may be higher. People are willing to pay more for the same quality of food in a better location. It makes sense for a the restaurant with worse food to outbid a restaurant with better food because the location is more important to them and they are allocating more money towards towards rent rather than food quality so they have more to spend.