Prices literally went up by a cool 100% or so over the past 5 years or so (if you account for the now ludicrous financing rates; 62% in raw prices) in Germany.
Housing in Cologne cost 3451 EUR/m² in 2017. We're currently up to 5508 EUR/m². Morgage rates went from ~1.2% pa to almost 4% pa over the past 3 years.
That's not normal.
Ultimately supply is the only way to decrease price.
Look, I know the economics. I don't like them. Fundamentally. Housing shouldn't be owned, at least not at scale.
My comment was mostly to point how how asinine your "if you are persistent you can do it" point is, being that both rent and morgages are skyrocketing. My rent got raised by 14 percent (it's coupled to inflation, that used to be a better deal) and you'd need about 200k/yr (pre-tax) household income right now to even get approved for a morgage here. It's essentially impossible for a working class person, unless you're on the top few percent of (labor based) income. And those people tend to have substantial capital too. Tech salaries don't scale this far here.
I also see this complaint from 2nd+ generation Americans. The 1st generation immigrant families I know save their money meticulously and end up buying one, two, three houses and renting them out. They do this amazing feat by saving almost all of their income and forgoing all luxuries for 10 years, then renting the rooms of the house they buy out, using the income to buy the second house that’s rented out, etc. They live a life of wise frugality, never drinking an espresso drink or watching Netflix, and scrupulously managing their income and savings - on accountant and K12 teacher incomes. The truth is you can buy a place for $700k in say Seattle for $140k down payment, which if you save 50% of your net income making a dual income of $120k/year takes less than 10 years.
Read the Jungle for a sense of what housing felt like pre-WW2. Compare it to what I described above happens today. Ask yourself what specifically is challenging you compared to other succeeding at it today and those succeeding at it 100 years ago. Maybe hold the post war era as a blip and outlier, and draw a line between you and the past without letting the outlier dominate your perception of your lot in life. Or move somewhere other than San Francisco.