Trade is necessary because not all nations have access to all the resources: so trade is a way of getting access to the resources they don't have in exchange for those they have in abundance.
Also, during this exchange the nations can get richer: they can sell their abundance at a profit and invest this profit into something else.