Intelligence-sharing from countries once, and still sort of nominally, our allies has been curtailed because no one can trust that information shared with us won't make its way to other countries that do not wish them well. That trust will take decades to rebuild if in fact it can be, and by that time, the world will be a very different place.
The current administration is in the grip of religious fanatics with delusional, apocalyptic views of the world, as is much of the political party they come from. Nobody sensible trusts people like that, nor should they. It will take a generation to remove these people from political power, and it's far from clear that a majority of the electorate even wants to.
Meanwhile, the US is gutting the science and education infrastructure that was rightly the envy of the world and making itself hostile to immigrants from nearly the entire world, when being a draw to the best and brightest served it so well for so long. Again, damage being done in a matter of years will take decades to recover from.
It's not time to pack it in but it is time to recognize that America does not now and will in all likelihood never again hold the place in the world it did from 1945 to 2017. The America that most adults alive now grew up in is gone and the one their children and grandchildren will inhabit will likely be much diminished.
Didn't have to happen but that's where we are and we brought it on ourselves.