The United States leads the world as the strongest economy, with a GDP exceeding $27 trillion. Its success is due to its technological innovation, robust financial market, and ability to attract global investment. China ranks second, with a GDP close to $20 trillion, standing out for its investment in infrastructure and digitalization.
The best economy does not always transcend to the best country with best living conditions, if you check on Google currently you would notice that the results are different. Individuals who are planning to relocate to a country good enough for you better than where you are, I think it is more important to consider a country with better living conditions than a country with good economy because good economy does not always reflect in the life of all citizens in the country because to some citizen in the country still they are not having the best living conditions.