The president said the U.S. will combat immigration "militarily until we can have a wall and proper security."