Lawrence Summers - All taxes discourage something

All taxes discourage something. Why not discourage bad things like pollution rather than good things like working or investment?