If you choose to stay in Africa and have your potential limited by silly things like bad Internet and no electricity, then make that choice consciously, and for good reasons, like wanting to be near family. If you stay because you feel some deeper connection to Africa because you were born there, get over it. Get out of your comfort zone, live your own life. Consider carefully the costs of maintaining that irrational connection. Personally, I think it's a cop out, an excuse to be mediocre. It's a global world, stop thinking locally.
What would Elon Musk have achieved had he stayed in Africa? Substantially less. Get yourself into an environment that is supportive of your dreams and goals, not one that works against you.