I don't know were you have been.  California is heavily in debt, and get further in debt every year.
And, using your logic, we should just open the borders and let everyone in , because it would be "good for the economy".  How silly.
There is a big difference between legal immigration, and illegal entrants. You seem to marry the two as if they are the same.