Learning Contentment and Generosity