Starfleet is very bureaucratic. I’d imagine a massive reason not everyone has everything is simply the hoops you’d have to jump through to acquire it. Imagine the safety regulations necessary for a galaxy class starship! Similar applies to holodecks. They are super dangerous. And you can’t just build a mansion anywhere livable as there’s usually something living there you would disrupt in the first place.
Starfleet is very bureaucratic. I’d imagine a massive reason not everyone has everything is simply the hoops you’d have to jump through to acquire it. Imagine the safety regulations necessary for a galaxy class starship! Similar applies to holodecks. They are super dangerous. And you can’t just build a mansion anywhere livable as there’s usually something living there you would disrupt in the first place.