The figures are based on polling around 1,000 respondents in each country, asking each subject to evaluate the quality of their life, focusing also on positive emotions such as enjoyment and negative emotions such as sadness or worry.
Other factors going into the index include per capita GDP, social support, healthy life expectancy, freedom to make life choices, generosity and perception of corruption.
The figures are the latest average of results from 2019-2021.
Bottom of the list was Afghanistan in 146th place, with Lebanon 145th.
The report is published by the UN Sustainable Development Solutions Network.