Trump is right about one thing regarding this, Gaza IS an uninhabitable plot of land. If left to their devices, any money coming in to rebuild will again, just like in the past be used to fortify tunnels, purchase weapons and plan for their next Oct 7th as Hamas said they would do.
But changing zip codes without changing their culture of hate, they learned as soon as they could walk, I don't see how settlements in Egypt or Jordon is going to lesson the chance of continued fighting. Worth considering the possibilities though. Nothing else has worked.