During COVID lockdowns I watched lots of international TV drama series on Netflix.
One of those "random things I learnt on Netflix" was that they (sort of) offer this in the UAE if you've lived & worked there for 10+ years.[1]
Its basically means-tested housing. So they offer anything from interest-free 25 year loans to fully subsidised housing.
[1] https://www.tamm.abudhabi/en/aspects-of-life/benefits-for-em...
That being said, there's subsidised, including to 100%, housing in France too. And cities are legally required to build affordable housing for those schemes, so it's not "it exists on paper, but nothing has been built in decades so nobody can get in".
But even in Finland, housing is only sometimes free and then on a net basis (rent can be canceled out by a means-tested housing benefit).