The west (U,S,A,) enjoyed a "brain drain" where the smartest and wealthiest came to the U.S. for a good education and stay here afterwards.
These days, we make it difficult or unpleasant for great educated people to stay in U.S.. Instead, they stay home. Their countries have better facilities and jobs than before,