The four objectives of law are to protect society, to resolve disputes, to change behavior, and to uphold the moral code.
Law is important because it helps to keep our society safe. It provides rules and regulations that everyone must follow in order to avoid chaos. If there were no laws, people would be free to do whatever they wanted, regardless of how it might impact others. This could lead to all sorts of problems, such as violence and theft. By having laws in place, we can prevent these things from happening and maintain a peaceful society.
Laws also help us resolve disputes between individuals or groups. When two people have a disagreement, they can take their case to court and have a judge or jury decide who is right and who is wrong. This process is usually much fairer than if the parties just tried to settle the matter on their own, and it can help prevent further conflict down the road.
Another objective of law is to change behavior. Sometimes laws are enacted with the intention of discouraging certain types of activities (such as drunk driving) or encouraging others (like voting). By making these activities illegal or offering financial incentives for doing them, lawmakers hope that more people will engage in positive behaviors and fewer will engage in negative ones.
Finally, law upholds our moral code. There are some things that we believe are just plain wrong and should not be allowed under any circumstances (murder, for example). We have laws against these things because they go against our values as a society. By punishing those who break these laws, we send a message that we do not tolerate this type of behavior