Typically Japan is used as an example. Rural houses there are extremely cheap these days. Urban housing is still expensive.
Not compared to most countries: https://www.sightline.org/2021/03/25/yes-other-countries-do-..., https://www.nytimes.com/2023/09/11/opinion/editorials/tokyo-...
The difference is that land in Tokyo etc is expensive.
Also if they're cheap postwar construction, they may not be very earthquake safe. If they're older traditional architecture, they're probably ok but still probably need a lot of TLC.
Curious what happens when there's a real demographic nosedive.