The prime minister talked about 'when the history books are written' as she sought to persuade MPs to support her Brexit deal.