The vast majority of people in any peaceful society obey the law not so much because they are making a rational calculation about costs and benefits, and fear punishment. They obey because they believe that the law is fundamentally fair, and they are morally habituated to follow it. They are much less inclined to obey the law if they believe that it is unjust.