If you believe that the 'good of society' is not what voters want, why bother with democracy at all?
(Slightly besides the point: I actually do agree that people behave like idiots at the ballot booth and don't know what is good for them in this context.
Luckily, people tend to be much more savvy when voting with their wallets or their feet. And as a society we would be well advised to encourage these latter two.
Eg by taking subsidiarity serious, and pushing as much decision making as possible to as local a unit as possible. Don't decide stuff at federal level, when the states can handle it. Don't let the states handle, what the counties can handle. Don't let counties handle, what the municipalities can handle. Don't let municipalities handle what people can do privately on their own.
See https://en.wikipedia.org/wiki/Subsidiarity
By pushing authority down the stack, you make the act of moving between states or even just cities so much more powerful and expressive.)