A man walked into a convenience store in Wollongong, Australia, put a $20 bill on the counter and asked for change. When the clerk opened the cash drawer, the man pulled a gun and asked for all the cash in the register, which the clerk promptly provided. The man took the cash from the clerk and fled, leaving the $20 bill on the counter. The total amount of cash he got from the drawer? Fifteen dollars.

We all act foolishly at times—even if, unlike this would-be thief, we’re trying to do the right thing. The key is how we learn from our…