Your statement on Malaysia and Portugal GDP per capita surprised me. So I did some fact checking. According to Wiki Malaysia’s 2018 GDP per capita is usd 10,941. Portugal is 23,176. [1]
Such economic measures are complex, and if you want to see a single number for a country, that number should be representative for everything and everyone