This is one of the arguments made by the authors of Why Nations Fail. Colonial institutions were set up to be extractive rather than inclusive. And when the colonialists were forced to leave, African nationalists functionally scaled up that exploitation.
Originally posted on Twitter, March 2024.