Very many people, including me, want to live in a glorious walkable bijou old-town stone apartment, except they can't afford to because they stopped building them like that in about 1756 and the only jobs within walking distance of the old town are in hospitality and those do not pay the salaries to buy one of the treasured old town apartments from under an AirBnB host.
And if it's a really small, non-tourist town in the middle of nowhere, it may not even have the hospitality sector. So, yes, that bijou property may indeed only cost 50,000 euros, and yes, you can walk to the boulangerie or the confitería or whatever but you're probably going to need a car to get out of your tiny town and go to work or basically anywhere else.