proverb

Many things lawful are not expedient.

Theme: judgment Keyword: rule

means that

An action may be permitted without being wise or appropriate.

Example

The contract allowed him to impose a fee, but doing so would alienate loyal customers.