Emotion, Cognition, and the Virtue of Flexibility