Yes, the law is good if a person uses it lawfully.
Watch the Teaching: Why Didn't God Answer Paul's Prayer to Escape Suffering?