Spending on public services rose to almost £100bn as revenue fell due to the Covid pandemic.