IIRC Jordan also took in an insane number of refugees from the Syrian Civil War as well as the ISIS War, on top of the Palestinians. Their remarkable willingness to take in refugees by the million despite their small size and limited resources kinda got overshadowed by the story of all the people going to Europe.Hardly, one of the better kept secrets from the American public is that Jordan has been taking in Palestinian refugees for years and issuing them travel docs/giving citizenship.
https://www.refworld.org/docid/5652e15c4.html
They host something like the third or fourth largest refugee camp in the world.