YANBU and YABU op.
We lived in a shitty, freezing cold, damp, mouldy private rented house for 9 years. And for 2 years me and baby dd squashed into a single bedroom at my mums while I saved up deposit/furniture money/first months rent.
In the time we were living in the grotty house my friends mum died. She fought for and got awarded the tenancy on the 3 bed house with a big garden in the area I was desperate for. And I felt pretty pissed off about the unfairness of it.
Then nearly 4 years ago we got a 3 bed new build on a beautiful housing estate, with most of the houses owner occupiers paying 150k plus for their property.
DH and I are both self employed. At the moment things are going OK. We can afford luxuries. We manage (with a bit of sacrifice and lots of work) to keep 2 ponies. No doubt many would say that if we can afford ponies we ought to give the social housing back and buy or rent somewhere else.
However we would never get a mortgage. DH is 50, a builder, had some serious health issues. My business is good but not a regular income and literally impossible to predict. We pay bills from DHs wages, save mine for emergencies and nice things.
So we would give up our secure tenancy, never be able to buy barring a lottery win, pay more in rent and never have the opportunity to improve our situation.
Social housing is desperately needed by many people in many different circumstances. Sadly it's seen now as 'only for emergencies' but that was never what it was for. It was to give working class families somewhere secure, affordable and decent to live.
And though I know how frustrating it is when everything seems so unfair there will always be someone worse off than you who would take priority over you if it was assigned strictly on a need basis, worst case gets it.
I hope your situation improves eventually. It's very difficult so yanbu to be pissed off. But your friends aren't really the problem, the problem is a lack of social housing and house prices and rent prices making social housing the only secure option for so many people.