Why do so many people want to live in America? Why have so many, like my parents, emigrated to the United States, and why do so many prefer it over all other destinations? It’s not just because of America’s prosperous and diverse economy, or its promise of economic mobility and equality. It’s because America’s political, cultural, and religious freedoms have meant that people’s fates are less foreordained by last name, tribe, ethnicity, or religion than they are elsewhere. While imperfect, the American system has proven remarkably open to revision and improvement, trending over its history toward more openness and equality, and less discrimination and oppression. Individuals can choose their own course, and their own identity.

America’s story as an immigrant nation is neither all rosy nor simple.

America’s story as an immigrant nation is neither all rosy nor simple. Racial and ethnic tensions have simmered along with every chapter of immigration, and for all the periods of openness, there have always been tragic moments when the gates were closed, including to many Jews during the Holocaust. And in many cases, America benefited economically and culturally from the arrival of refugees or immigrants created by America’s own foreign policy misadventures. My own parents came to the United States to study; one reason they stayed was because their home, Greece, was in the violent grasp of a military dictatorship that had been put in place with U.S. support. However, America also offered some Greeks like my parents a way out, and a new home. Such stories have been part of the American fabric since the beginning.

President Donald Trump’s executive order to close America’s borders to people from seven countries arbitrarily chosen as the most dangerous sources of terror strikes a body blow against a fundamental American conceit: that this country is a melting pot, and that we never discriminate on the basis of religion.

The anti-immigration measure unleashed over the weekend also attacked the fundamental notion of citizenship, by initially barring even permanent residents whose green card signifies they are in the last stage of the legal path toward citizenship (Trump was forced to walk back this element of the order). And it directly singled out Muslims as targets; whatever the verbal acrobatics Trump has engaged in since, his order and statements were clear; he wants to ban all Muslim immigration from these seven countries (and perhaps more later), while making special provisions to admit Christians from those same places.

Don’t Be Fooled: It’s a Muslim Ban

Of course, this is a Muslim ban, not a counter-terrorism measure. (Rudy Giuliani, a Trump adviser, confirmed as much talking to reporters.) It’s easy enough to see, if you’re open to fact-based policymaking, that a blanket ban on foreigners or members of some ethnic groups will do nothing to protect the United States from terrorist attacks, which in most cases have been perpetrated by attackers who were citizens, entered the country legally, or were members of groups not on the hot-button fear list of the day.

In standing against this shameful executive action, we certainly can and should make a case based on self interest. An immigration ban hurts America just as surely as it hurts many families and individuals. It hurts our economy, our workforce, our research and development prospects, our universities, and our vibrant tech sector. It will make our economy less competitive, our institutions weaker, and our companies less profitable. More broadly, it hurts us many times over as stewards and beneficiaries of an international order built on norms that if unevenly enforced were once quintessentially American in principle: equality, rights for all, opportunity, and colorblindness.

But most fundamentally, this outrage from the Trump White House harms us by damaging the foundation of American rule of law and equality, which are the very reasons this country has had such success and has grown into a worldwide beacon. Despite America’s checkered record, it remains a cherished home to that majority of its population descended from immigrants, and a choice destination for those seeking a freer life. There might be better places to live, but none, including the European nations with great social safety nets, offer an open society with equivalent individual rights and freedoms.

What we’ve witnessed over the last days has defied the already low expectations that Trump set in his first bellicose week in office. Unaccountable law enforcement officials denied lawyers and even members of Congress access to immigrants detained at airports. Unapologetic White House officials gloated that terrorists will be thwarted by an indiscriminate, punitive measure whose short-term harm is sure to be matched by its long-term ineffectiveness. While White House officials clarified parts of the order on TV and the president fanned the flames on Twitter, foreign governments began to take countermeasures and executive branch agencies appeared to trample on the separation of powers by ignoring court orders and legislative requests. Families separated by the order, and travelers whose visas and green cards were suddenly useless, scrambled to figure out when and if they could cross America’s threshold.

Under the current scheme it is likely that Trump will try to open America’s gates only, or primarily, to non-Muslims. I hope that such an effort will fall afoul of the letter of the American Constitution just as surely as it defiles its spirit. But as a longtime observer of the American political process and a student of some of its dark history, I fear that it will take uncomfortably long to reestablish a just order. Courts move slowly and deliberately. Even if they get it right on the first try, it might take years before a Supreme Court ruling strikes down a de facto Muslim ban. And maybe Donald Trump will find legalistic detours around justice, implementing his isolationist, racist, and xenophobic plan with just enough attention to detail that it squeaks through the judicial process. As George W. Bush’s torture policy showed, much can be accomplished that is against our laws and our values.

We are a stronger nation with our immigrants.

We are a stronger nation with our immigrants, those who assimilate as well as those who struggle. We are stronger for our establishment clause which separates not just church but synagogue, mosque and all other religious belief from our state. The day we make religion part of the litmus test for American belonging is the day we turn our backs on the most American idea of all: that America can always, in theory, be home to anyone who wants it badly enough. America today is neither a Christian nor chauvinist nation; it is a nation built on a communal belief, and its success is a testament to change, inclusion and secularism, to the power of a collective national ideal that accommodates all takers.

America Doesn’t Live in a Vacuum

Trump’s excesses are possible because of the abusive bloating of executive authority and security state powers. Rights-stripping, unfortunately, is also as American as apple pie, and many of George W. Bush’s escalations of federal power, fear-mongering, and immigrant abuse after 9/11 were built on erosions of rights contained in two signal pieces of legislation by Bill Clinton that were supposed to reform immigration and the legal process in death penalty and terrorism cases. As a journalist covering federal court in Boston after 9/11, I was aghast at the cavalier lack of concern among many law-abiding Americans for the legal rights of foreigners, terror suspects, and drug criminals. I was also surprised to learn how deep and bipartisan support ran for any action couched as anti-terrorism, even if its primary target was immigrants and nonviolent criminals, as demonstrated by Clinton’s “Anti-Terrorism and Effective Death Penalty Act” of 1996.

Obama walked back some of the worst crimes of the Bush era, ending torture, closing black sites, and rolling back some surveillance measures, but he enjoyed the perks of unfettered executive power. Guantanamo remained open, drone strikes accelerated, and America didn’t join Canada and Europe in shouldering the burden of today’s historic refugee crisis.

Now Trump has taken the tools assembled by his predecessors and is applying them to toxic ends.

What about other countries? Will they function as extras in a one-man play called “America First”? Doubtful. They will retaliate, and America will care; even Trump, probably, will care. Soon enough the world will react, and Trump and his sycophants will notice they don’t live in a vacuum. Unfortunately, like the valiant domestic protests, it will take quite a while for the response to curtain the abuse of power. But the response will be devastating. Iraq is imposing a reciprocal ban on Americans, which while mostly symbolic could undo that oh-so-important war against ISIS, whose frontline today runs through Mosul, where American and Iraqi troops are together pushing back a real terrorist threat.

And American allies, on whom America depends for so many economic and political benefits, might take umbrage at having their citizenship suddenly downgraded. Citizens of Canada, France, or the United Kingdom are suddenly demoted in the eyes of the United States to having lesser rights because of their origins—might not, in a reasonable world, the governments of Canada, France and the U.K. retaliate to make the point that all their citizens should be treated equally?

How we act in the world matters just as surely as how we act within our own borders.

How we act in the world matters just as surely as how we act within our own borders. A parent who abuses strangers and cheats in the workplace can’t expect the same behavior to result in an ethical and peaceful home. Trump’s anti-immigrant policies won’t make us safer from terrorist attacks, nor will they solve any other American woes, real or imagined. But we shouldn’t only make the case against isolationism and chauvinism solely on efficacy. Because even if such policies worked, we should still oppose on principle all moves to close our borders, disavow American ideals, and discriminate against religious groups. We have no interest in prevailing as an authoritarian state.

Our Better Angels

Donald Trump and his team will have to moderate their contempt for political life and dissent. Even autocrats in weaker states find they have to manage and sometimes cave to public opinion. Even outright tyrants can’t ignore street protests or the discontent of vast swathes of the public. So too, Trump, even in his first climbdown on Sunday when he relented on green card holders, will learn that public support matters in political life, all the more so in a democracy, which America today most resolutely still is.

Since 9/11, Americans have struggled to find the right balance between our security and trespass against our freedoms, all too often accepting compromises on core values in a devil’s bargain to fight terrorism. In the end, our security comes from both our readiness and our values, our laws and our fundamentally democratic melting pot ideal.

For most of my life, I have tried to explain what makes America special to skeptical relatives, friends, and interlocutors from all over the world. Donald Trump’s immigration ban makes that job all the harder. But there is an answer, and it comes from the legions of Americans who instantaneously rose to fight the unjust measure. The Bill of Rights, the traditions of American citizenship, our institutions, and constitutional rule of law together pose formidable obstacles to a would-be tyrant. American history tells us that justice can prevail, even if it takes a long time. Let’s hope that we’ve learned our lessons from the last century, and that Donald Trump’s attempt to rewrite the American compact as a nativist, racist, and isolationist screed shatters before its first draft is finished.