Many Western nations became richer than other nations only in recent centuries.
This was because of at least five imortant factors:
1 Acquisition of scientific knowledge.
2 The Industrial Revolution and modern Technology.
4 Techniques of wealth-generation: banking system, stock-market, mass production, advertisement,…
5 Colonial exploitation of Asia, Africa, and South America for 2 + centuries.
In our own times, the first four are fast spreading to Non-Western countries as well. Some may see this as the greatest cultural sppropriation that has occurred in human history.
In any case, because of this the the economic superiority of white nations will most likely disappear in a few decades.