exactly my point
"do unto others" covers just about everything BUT God has also instituted a system of government which is able to deal with trespasses in a punitive way (an eye for an eye)
this allows for justice while preventing vigilante style "justice"