Most laws in most countries, are good. They were created and legislated so that they will be of maximum good or of best use to the people in a place.
Take traffic laws for instance. In England, you must drive on the left side of the road; in America, you must drive on the right side of the road. In India, of course, you may drive on any side of the road--as long as there is room.
Culture has laws. In the Far East, you eat with chop sticks. In other countries, they eat with forks and knifes. Of course, in yet other cultures they eat the original way--with hands!
Religions too have laws. "Thou shalt not kill; thou shalt no covet; thou shalt not commit adultery; thou shalt not steal."--these are laws that are found in every major religion of the world.
However, the same laws that are meant to protect you can also imprison you. I have good news; you don’t have to stay in prison.