Ah, evil Colonialism ... which gave Africa most of the useful infrastructures they still use to this day.
Like in India, where the British built a huge railway network, which India almost didn't extend since their independence.
It doesn't look like Colonial powers impoverished their colonies, it looks like they heavily subsidized them!
https://www.zawya.com/en/business/transport-and-logistics/a-century-on-french-built-train-in-ethiopia-still-a-blessing-d750hfs9