The function of wisdom is discriminating between good and evil.