This is just categorically untrue. People go to McDonalds because they want to, even if they may not want to admit it.
A McDonalds franchise is, by far, one of the most expensive franchises to own and operate. They have strict rules on where you are allowed to open one and startup costs are in the millions, most are owned by investment groups and people who own multiple franchises.
If you have a McDonald’s, you have a market. So you most certainly also have a Subway, Pizza Hut, Wendy’s, etc. Some of those franchises literally just plant themselves wherever a McDonalds is placed because it’s cheaper to do that then it is to do the market research yourself.
Obviously this won’t be 100% in every area in the world, but even in your own example you listed another cheaper franchise right nearby, therefore it is not the only option.
I haven’t been everywhere but I live in Canada and I’ve been to the US, UK and Southeast Asia and in all of those places this is true. There are towns that will literally just have a Subway or similar cheap franchise, but places with a McDonalds will almost always have another option.