Earlier quoted context omitted.
But society wants selective enforcement. Speeding laws are good when the stop that guy from endangering my kids. Or when they generate revenue from tourists. Those same laws are awful when they inconvenience me.
Maybe I'm just being contrarian to your comment, but I've always thought the US and other countries are silly for not automating basic traffic enforcement. Red light cameras should effectively catch 95%+ of people who blow through them. Speeding cameras (that are actually on, looking at you NYC) that are super visible are a known deterrent to speeding in Europe. Even parking - in some modern garages they have sensors…
But, my comment wasn't meant to imply traffic is the only place this happens, it was just an easy example. We see the same with (building) code enforcement at all levels from HOA to city/town/county. We see excess policing/enforcement (to the point of infringing on individual rights) in certain neighborhoods and with certain ethnic groups (stop and frisk in NYC, for example).