Exactly. Corruption and a lack of free trade and cooperation between African nations is the problem. Africa has the lowest internal trade when it comes to intra-continental trade blocks. Hell, it doesn't need to be a continental trading block at first but simple border trade agreements with your neighbours. An example - Ghana is bordered by 3 countries, Burkina Faso, Ivory Coast and Togo. Set up trade agreements with them and never mind what's going on in African polities. The 'Love Thy Neighbour' principle is based on the fact that your neighbour is going to be more influential in your affairs.
Africans also need to have faith in their own cultures and people, be it:
Domestic native crop production (Sorghum, Pearl Millet, Fonio, Cowpeas, Teff, Yams, Palm Oil Nuts/Fruits, etc)
Historical cultures (Yoruba, Igbo, Wolof, Bamileke, Kikuyu, Amhara, Ovambo, Sotho, Luba, etc)
Startups and loans
The last thing Africa and black/African people needs is some delusion of a Pan-African United Superstate because "We all black and all the same" BS. Never gonna happen and it cheapens the wonderful histories and cultures within Africa.