Having a positive outlook is essential for wellbeing.