The Iron Curtain and Berlin Wall did not preserve Soviet communism. They may have slowed its fall. That’s all.
Neither will “Trump’s Wall” stop illegal immigrants. There are more effective ways. Those will likely be more expensive over a long time, but they should be better and more thorough.