Of course, but you must be clear that law and morality are not absolutely consistent. It is not that everyone is different, mine is right or wrong, and as a theoretical tool of the ruling class, it is even more impossible for the whole people to agree.
But everyone has a steelyard in their heart, depending on what scale you have!