Back before the early 1990s, most of us engineers would go out to lunch every day. We didn't go to expensive places since some of the people knew of hole-in-the-wall places where the food was good and reasonably priced. However, somewhere in the early to mid-90s, we noticed prices going up a bit more than we wanted to spend, so most of us soon started bringing our own lunches and stopped going out to eat except for the occasional special occasion. This trend has been going on for some time.
Since my wife and I only go out to eat once every couple of weeks, and then usually to lunch rather than dinner, we notice the price trend too. It seems to me to be a Catch-22 situation in which the restaurant owners need to charge more to make ends meet as their costs increase and (currently due to COVID-19) customer base shrinks, but at the same time, more people reach a point at which they can't (or won't, as in our case) afford those prices.
Despite all that, when restaurants are allowed to have indoor seating, we see them rather full anyway, so somebody has the money for this kind of expense. I look at it and figure for what one glass of beverage costs when eating out, I can buy a whole week's supply or even more. For what one meal costs, I can feed myself for several days. In the end, it comes down to your spending priorities. Eating out has simply not been a priority for us, so it is relatively easy for a restaurant to price us off their list of customers.
Edit: at some point, the market should be self-correcting, in which prices reach a point where the customer base falls off and the restaurant must adjust its practices such that they can bring prices down to a point at which customers start coming back. Of course, this picture would be of pre-COVID times. With COVID-19, it would be very difficult to determine where that price point is since basic survival overshadows normal business and market developments.
Tony