This was a position held only by the nationalistic (and at least partially racist) political party Sverigedemokraterna, but I think he simply looked at the numbers and saw that the cost for refugees in Sweden is at least 5 (10?) times higher than UNHCR's total budget, while helping only 1-2% of the number of refugees compared to what UNHCR administers.
If I remember correctly, he might have mentioned that at a big fundraiser supporting immigration which was a truth no one wanted to hear, as the "story" as told by media at the time conveyed that the middle east and Africa is inhabitable in general, without exception.
He was remarkably absent in the news after that, almost like an embarrassed silence, but I guess he probably was diagnosed with his illness less than 6 months after that, so I might have been over-interpreting the coincidence.
I might add that Sweden is a very small country with a very strong group-mentality in regards to political ideas and opinions ( and other areas, like fashion).
Political triangulation would have arrived at almost unrestricted immigration at the time.