To be sure, there are exceptions to this rule. When China uses our intellectual property such as software without paying for it, we should view that as a form of theft. And when other nations’ economic growth has side effects on the global environment, as it does when they emit the greenhouse gases that contribute to climate change, the United States has good reason for concern. But these limited exceptions should not blind us into taking a more generally adversarial approach to international economic relations.

During the address, Mr. Obama lamented the fact that many foreign students attended colleges and universities in the United States and then returned to their countries of origin. “As soon as they obtain advanced degrees, we send them back home to compete against us,” he said. “It makes no sense.”

The president is right that we should encourage a greater number of highly educated foreigners to migrate here. Because skilled workers pay more in taxes than they receive in government benefits, increasing their supply would reduce the fiscal burden on the rest of us. But if these foreign students decide to return home, as many do, we shouldn’t worry that they are competing against us.

Instead, we should view higher education in the United States as one of our most successful export industries. The United States has 5 percent of the world’s population but most of the best universities. Is it any wonder that students from many nations flock here to learn? And as they do so, they create opportunities for Americans  from the professors who teach the classes to the grounds crews who maintain the campuses.

When the foreign students head home, they take the human capital acquired here to become productive members of their own communities. They spread up-to-date knowledge, so it can foster prosperity everywhere. Some of this knowledge is technological. Some of it concerns business, legal and medical practices. And some is even more fundamental, such as the values of democracy and individual liberty. Nothing could be better for the United States than these thousands of American-trained ambassadors who have seen at first hand the benefits of a free and open society.

As we confront the many hard policy choices ahead, let’s prepare for the future. Let’s invest for the future. Let’s be willing to make hard sacrifices for a more prosperous future. But let’s not presume that the future is a game requiring winners and losers.