Tax law, and almost no law, is based on what is beneficial for the majority.  In fact, what is just, is held to be a thing independent of the majority view.   The greatest danger to liberty, in a democracy, is the tyranny of the majority view.  When you stand on what is 'beneficial for the majority' you're skating on very thin ice, and most of our historical transgressions were endorsed by the majority view.