In most developed countries they would end up in a homeless shelter or social housing and be covered by national healthcare.