"Community" is loose term - choosing to limit the boundaries to "your country" is arbitrary. There is an argument to be made that having the people best suited for a job work on it will improve long term economic viability of the product itself and in turn availability of the product to the "community". There is also the risk of losing the best talent to an entity outside this arbitrary definition of community and then get crushed by a superior, competing product/service - where is the economic sense in that?