Earlier quoted context omitted.
(edited) Would these homeless people be sent to the moon mandatorily or voluntarily? If voluntarily, why only send homeless people? Why not send everyone who wanted to go?
In The Moon is a Harsh Mistress , the Moon was a penal colony. In that book, a form of harsh natural selection took place, and everyone who wasn't smart enough to survive in the demanding technical environment (and smart enough to foresee the disasters caused by those who weren't smart enough) quickly died gruesome deaths, leaving a population which was quite intelligent and valued learning.
Please take that as a warning not to set up disasters.