In 1954 Ghana was far richer than South Korea, which was a bombed out hellscape that had been the scene of a conflict between superpowers after WWII. Ghana is no longer richer than South Korea, to put it mildly.
Botswana and Equatorial Guinea are both blessed with abundant mineral resources, diamonds for the former, oil for the latter. Botswana is a prosperous middle income country; Equatorial Guinea’s people live in wretched poverty while the president and his cronies live in luxury.
If we look at Botswana’s neighbour, Zimbabwe, we can see what bad policy can do, turning the breadbasket of Africa into a basket case and a food importer. Or compare Venezuela and Colombia. Their colonial experiences were similar, they were once one country and Venezuela had the advantage of massive oil reserves. None of it matters if your policies are bad enough. Price controls, seizure of private property and general thuggish incompetence have turned Venezuela into a disaster.
Enough of the soft bigotry of low expectations; some countries have done much better than any plausible comparator because of good policy. We should praise those who did and decry those who didn’t. Ethiopia and Tanzania both started stupid campaigns of collectivisation leading to mass famine. Tanzania stopped, Ethiopia kept going. If we see idiocy we should call it out, good policy we should praise it.