So basically people in the Neolithic period were able to figure this out in areas OTHER than Africa where they still haven’t figured it out. There are some who never learn.
The smart ones kept leaving Africa for greener pastures, leaving the dumb ones there to inbreed.