Your basis for the conclusion that Stockholm is not "attracting and keeping global talent" is that some random person once was very rude to you? Or is this a general experience you've heard from other people?
Actually, it was probably Rock and the Traitorous Eight in '57 as the genesis of Silicon Valley. And you might be familiar with some of these US immigrants, none of whom were H1b's: Jerry (yahoo), Sergei (google), Pierre (ebay), Elon (paypal).