The president also threatened to shut down the government if he did not get money for border security, including the wall.