Give the devil his due. meaning

HOME PROVERBS

punishment

Give the devil his due.

suggests that:
You should treat people according to their acts or punish them according to their wrongdoings.