How realistic is homeownership for millennials and Gen Z in the UK?

I swear the joke is that we can't afford housing, but in reality it really feels like something thats incredibly hard to do, I'm 27 (m) on 30k a year and I like won't be able to buy a house till I'm 40 at this rate with the cost of living/necessities going up