Europe’s quality of life improved for the first time in a decade despite terrorism attacks