Is Mexico more developed than China for always having a higher GDP per capita (nominal) until 2019? Why do many people view Mexico as a poor country?

墨西哥的人均GDP2019年之前一直比中國高,為什么還是有很多人認為墨西哥是一個窮國?