The chancellor says public finances are facing a “challenge” from the impact of the pandemic.