When people have no hope of not making it as a permanent resident or citizen, their incentives to perform well are not as high. Also immigration is a global market, you compete with other countries that might offer better conditions so you lose on the best workforce.