Taxes are a way for politicians to virtue signal.
They used to be for revenue, but when you can steal from peoples' savings, taxes become a lot more sinister and are used to modify behavior. The main behavioral change is to make the populace compliant.