Marcus Tullius Cicero said this quote

The function of wisdom is to discriminate between good and evil.