A related question is how does Jordan manage to do it? People I spoke to, while acknowledging the social stress of hosting so many refugees, also took pride in what the country is doing. There has been a lot of leadership here from the King Abdullah and Queen Rania who have campaigned extensively at home and abroad for more support for refugees. The Queen referred to the refugee crisis as, "a crisis about human dignity and decency, and one that reflects the future of our interconnected world."
Recent changes aside, while the US has taken in a total of about 3 million refugees since 1980 this is still only about the same number as in Jordan where the population is much smaller. Put another way, about 1% of the US population consists of refugees while in Jordan it is about 30%. There is no comparison. Obviously hosting that many refugees puts a huge strain on a country both economically and socially. Both the US and Jordan have about 3 million refugees, but the US has a GDP of about $20,000 billion as opposed to Jordan's GDP of $40 billion. The cost of resettlement of refugees is actually a significant portion of the Jordanian national budget, and it is unsustainable. While there have been promises of international support, in 2018 Jordan received only 7% of the funding promised from western countries to help alleviate the costs of resettlement.