You can't look at items in isolation.
Finland doesn't have an open immigration policy. In fact it's citizen oppose immigration because they wish to preserve what is Finish. Finland is not more progressive in this regard.
Now we can start to understand how Finland could end homelessness. With a free immigration policy this would be more difficult both culturally and in terms of costs.
How does Finland get it's wealth? Through clean energy progressive solar or windpower? No through oil. Adding to the global carbon output daily.
When we peel the layers we realize we are comparing apples to oranges.