Plato said this quote

good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws