The closest analogue in the real world to the ideal that you describe is, I think, Cuba. It does guarantee food and housing, and it does have a remarkably advanced healthcare system plus what is reportedly a united community. Perhaps most interesting of all, it's politically isolated like a starship would have to be by its nature. Even then, one would have to be either pretty brave or desperate to go along on the journey, as modern Cuba has only been around for half a century and that's at the absolute minimum of an intergalactic starship's practical mission duration.
I believe historically it was either for profit, which there is unlikely to be much in medium term. Or because the new place was expected to be better. Mostly due to resource constraints. But generation ship should be quite optimal. And well outside magic level tech there is not much to do on empty planet.