That is in all likelihood the true purpose of such a wall. You are a smart man to have a future sense. So very many don’t.
If a future dictator wants a wall on the border to keep freedom loving citizens in the country he will just send as many slaves to the border to build a wall as he needs.
Not building the wall now makes no difference to such an out come occurring later.