This comment lacks a bit of empathy.
If someone is trying, even if they fail, that means they are more likely to improve if they receive the right sort of feedback or support. Someone who isn't trying lacks even the basic motivation necessary to try.
Instead, if you treat someone who tries and fails the same as someone who doesn't and fails, then there is an incentive for the person to not even try!
For your parking ticket, if you geniunely tried to pay a parking ticket but couldn't (for example because you didn't have the money at the time) it totally doesn't make sense to charge you double. It would make more sense to do something like put you on a payment plan, or otherwise take into account that you have legitimate difficulties. Financial, organizational, or otherwise.
Zero tolerance policies do not "solve problems" because they ignore the individual contexts.