why is a country better off and not isolating itself from all other country?

why is a country better off and not isolating itself from all other country?