Your question- Where should they live if not in the rubble? Hence my reponse to Jack was: “Whether Trump is right or wrong, a million people of all ages cannot live in the rubble”. That sht has to cleared away. They had a waste management problem for the war. They were a major welfare problem for the region before the war. And out of 22 Arab Countries, it appears no one will take them for even a temporary period. So there is no good solution until Arab/Islamic world comes up with one.
The world should be asking Iran for a solution, since they funded, armed, and supported Hamas. Lets see if Iran has their back now.