Nice try, but you can't have it both ways. Either your parallel is applicable, in which case my response in on the money, or, your parallel is NOT applicable, in which case, why are you cluttering the thread with it?
Methinks you read far too much into a parallel.The question was something along the line of: Has God ever supported illegal aliens?
The Joshua/COI instance says yes.
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.