Most rich countries are rich because they build their wealth on free labor (slavery), and this countries include USA, UK, France, Germany, Belgium, etc.
Some are really poor because they've been exploited by the countries mentioned above (Africa and former German, British, Belgian, French colonies).
Some are poorer because they've been destroyed by war multiple times (Poland).