While criminals will create problems due to not following Law, most people in the group will thus creating a stable environment for the group to flourish. This is ofcourse assuming the laws are just and freely accepted by all.
Which gets us to the bigger point: We are not "a country of laws" as the politicians like to say. That's their propaganda to try to get society to follow the laws they create, whether they're just and right or not.
No, in reality we are cultures: Groups with common social norms, and "just laws" are those laws that are in agreement with the society's cultural norms. By this definition, most laws are "unjust" and serve only our political masters and their ends.