The cost for someone else's greater good can be punishing