Is law more important than ethics?

Ethics come first, then the law is needed to uphold those ethics.