There's a slight misunderstanding here: the main purpose of tax is not revenue for government spending, but to impose a policy on the actors in the economy.
It's a way to take out the excess money from circulation that central and retail banks printed, effectively controlling inflation.