I grew up in a HA house. The one thing I was determined to ensure as an adult was that I owned my own home. Whilst we had security of tenure (which I know many in rented accommodation now don't have) and paid a low rent I always knew it wasn't 'our' house. I worried a lot as a child about where my parents would live when they were old, and how I would house them. Ultimately they died whilst I was in my early 20s so it was never an issue, but it didn't stop me wanting to buy my own home.
At 43, I'm lucky in that I have nearly paid off my mortgage. My plan for the next few years is (if my DS goes to uni) to buy a house in his uni area (wherever that may be), which I will rent out to him and friends, and then once he leaves either keep as a BTL whether to a family or students, or if he stays on in that area, allow him to take over the mortgage. I'll do similar for my younger son.
I don't feel there is a more secure investment than property tbh, I am too risk averse to put money in stocks and shares. I won't be looking to make a short term profit, though of course I want to cover my costs, longer term my gain will be in the rise in value of the property over time.
In an ideal world there would be more social housing. But there isn't, and none of the political parties appear to have any sustainable strategy for reversing that situation. BTL may not appeal ethically to all, but I think it's unavoidable as things stand.