It's complicated but from centuries of history I guess. An interesting argument why the area around the Med developed before Africa is it was easy to get around by boat and spread ideas and culture - you can sail quite easily between Egypt, Israel, Italy and Greece. On the other hand sub Saharan Africa was hard - you mostly had to walk. Now of course travel and communication is easy with modern tech which I suspect will level things up.