I wasn't trying to imply homeless == stupid, I apologize if it came off that way.
I understand homelessness is multifaceted and for some, even though intelligent, classic employment opportunities are not available/desirable for a whole host of reasons.
The impression I got from your question wasn't that homeless people were incapable of intelligence, but rather that you thought intelligence was the exception, rather than the rule. This becomes a problem when, say, a rags-to-riches story comes around and people conclude not that this one person got a lucky break, but that this one person decided to stop being as stupid as the others. This in turn suggests that nothing is actually broken and homelessness is less an indicator of societal malfunction and more a casual nuisance.