From my experience in the UK, homeownership has a lot of cultural weight, because it's really the only way to guarantee stability in housing. While renting, you typically have to renew every year, which results in unexpected price changes and the constant risk you might have to move unexpectedly (often with just 1 month notice periods).
In many European countries though, including Germany, this isn't such a thing. Leases are often indefinite, landlords will really struggle to evict you against your will as long as you are paying your rent and not destroying the place (the only notable exception being if they evict you to personally live in the flat as their main residence) and there are tight limits to the rent increases allowed (https://conny.de/en/rent/rent-increase/information).
When you can get ~similar housing stability without ownership, it becomes more a question of flexibility vs financial investment, rather than a strict goal that always makes sense.
There's also lots of subsidies in Germany that actively support the rental market (rather than houseownership, unlike elsewhere): https://www.brookings.edu/articles/Germany-rental-housing-ma...