Why do governments try to attract more foreign investment?

Governments try to attract more foreign investment for the following reasons
(i) It helps in improving the financial condition of the people by accelerating growth of the economy.
(ii) Foreign investments create new job opportunities in the country, direcdy as well as indirecdy in support services like transportation.
(iii) The government gains additional taxes by taxing the profits made from foreign investments.