I would posit that it could be based on something else entirely, a civic or moral obligation a person feels to abide by the spirit of the law to help protect fellow people, even if they would not be punished or could some how gain something - in this case, a finite resource - time, for violating the law.
Eh, task ChatGPT with it.