The sentence which you are looking for is "An eye for an eye, a tooth for a tooth". This is the basic premise associated with Hammurabi's law which basically means that whatever bad one might have done, the punishment will be inflicted upon him in the same manner.