I know several developers from developing nations that have strong ties to their countries of origin, and engage heavily in various "good works" there. They have massively more resources to do so due to their salaries in the US than they would if they were stuck in their countries of origin.