The Treasury will use public spending to fend off the worst of the economic downturn, Alistair Darling said.