Every country on this planet has corruption, but first world countries minimize the effect of corruption on their economy.
The poorer countries let corruption destroy their own economy.
African colonies were exploited for their raw materials and labor, leading to a depletion of natural resources in Africa that were utilized in Europe. This exploitation left Africa poorer in terms of natural resources after colonialism. Furthermore, colonialism made African countries dependent on European-manufactured goods produced with African materials, hindering their own development. The rapid industrial growth of the West was heavily reliant on cheap raw materials, initially supplied through slave labor from Africa and later through direct colonial extraction.