For a long stretch after World War II, Namor got dehydrated, and wandered around as a homeless, bearded vagrant. He remained that way until one day, Johnny Storm gave him the most irresponsible shave in history.
During this time, did a lifestyle of riding the rails in box cars, eating out of trash cans, and finding whatever booze he could get his hands on give him an appreciation for the rest of his days about the plight of the homeless?
Perhaps it should be noted, when Atlantis has had to be abandoned, Namor pushed hard for a new home for his people to be built beneath Utopia. Coincidence, or proof that he believes all people need a roof over their heads?