If the government raises taxes in a recession, this need not reduce productivity. In a recession, individuals and perhaps even businesses are cautious about spending. If the government then raises taxes and uses the increased revenue to make public investments in productivity and to compensate those without work (who have so little money that they spend most of their money), then this can lead to increased productivity and get the economic wheels to spin again.