No, it would incentivize investing, since if you just leave money sitting under a mattress, it loses buying power over time because of inflation.
> the economy works better when people spend money
The economy works better when people create wealth through cooperation, specialization, and trade. Taxing production reduces the incentive for people to do that.