You're making broad statements about a continent of 1.4B people made up of 55-59 different nation-states (depending on which nations you recognize), that have an impossibly complex series of national, ethnic, class, and social relations some of which predate colonialism but many of which are direct descendants of colonial and neocolonial rule.At this point it’s hard to sympathize.
Africans keep electing and allowing incompetent leaders who make bad deals and only care about enriching themselves.
"Africans" have elected plenty of leaders that do or have done good work, many of these leaders have been assassinated or ousted by former Western captors, and those with the economic power (Western nations and their financial hegemons), have been able to have an overt say in the governance of these nations.
I live in the U.S. and as "democratic" as we are, we can't even get in good politicians - now imagine how difficult it is to produce governance that can handle both domestic and international issues, impossible economic and infrastructure burdens, and the constant threat of being undermined either by specialized groups within your nation, or outside groups with the capital and support to do so.
You'd need 58 Thomas Sankaras, Patrice Lumumbas, Ahmed Toures, and Kwame Nkrumah's for decades to produce anything *close* to what is needed across the continent.