It is applicable in that they were illegal (according to the invaded countries) and that God supported them.
The situation is different (I hope) in that God had decreed the sin of the inhabitant of Canaan so bad that they needed to be cleaned out.
A case could be made against San Francisco.
The quote referred to...
That was when Joshua led the Children of Israel into the Promised Land and displaced the people currently living there.
Unless you are saying that the reason God supported the Children of Isreal was because they were illegal aliens then your analogy is as hollow as a pinata. One must also assume that God always supports illegal aliens and that the story of Joshua was kept as Scripture in order to demonstrate that.