Oh given the high-ish standards we place on immigrant I doubt they are the ones becoming homeless. It's more likely to be the displaced Canadians who can no longer afford rent.
And I think the mental gymnastics required to think bringing record levels of people into a country who can't house those already here is insane. You want to breed actual anti-immigration sentiment? That's a great way to do it. I don't think ensuring the people entering Canada have an even somewhat affordable place to live is "anti-immigration". Again, just look at average incomes vs rents. I think a lot (most) of people with your view simply aren't aware of the current rental (let alone sale) market situation.