Trump was 'better at foreign policy' because he was prepared to deals with tyrants, to their benefit and to the detriment of their people.
To whose benefit, other than the Taliban, deal with them? Certainly not the women of Afghanistan, all those who hoped for a an open and free society. I fTrump had cared that much, he would have done not just more but far far more to deal with that countries endemic corruption, which would have done more to get support for the government than anything. Corruption is of course a touchy subject for Trump.
America is on the decline as an international player, it is no longer interested in policing the world, that age eended with perestroika. It is now an inward looking country with no interest in anywhere else. With an ocean on each side, Canada to the north and only the slimmest bridge of land linking it to South America, it has no reason to care about anywhere but itself.
The fact that the successful Democratic candidate for the Presidency was such a weak candidate, but could still beat Trump tells you more about the decline of the USA than anything else. No one of any quality wants to do what is necessary to lead either of the prejudiced and corrupt main parties and the electorate do not care much either.
Cut the moorings and let the USA sink into oblivion.