Choosing joy in pain